goldenyz / react-perfect-scrollbar

A react wrapper for perfect-scrollbar
MIT License
482 stars 92 forks source link

react-perfect-scrollbar stops scrolling when cursor is on tinymce editor #168

Open tdusman opened 1 year ago

tdusman commented 1 year ago

here is the implementation of tinymce editor in perfectScrollbar.

`import PerfectScrollbar from "react-perfect-scrollbar";

<PerfectScrollbar style={{ height: "calc(100vh - 181px)", overflowX: "hidden" }}

<Editor value={description} onEditorChange={(event: string) => setDescription(event)} /> `

f-solecki commented 1 year ago

I am facing the same issue. It is stopping because TinyMCE Editor is using iframe and iframe takes over the target and it is trying to scroll itself(content inside iframe). Did you find any solution @tdusman ?

f-solecki commented 11 months ago

If someone will need some kind of solution - I didn't found anything. I just decided to use native browser scrollbar(styled properly) on page with TinyMCE Editor and all iframes.