goldenyz / react-perfect-scrollbar

A react wrapper for perfect-scrollbar
MIT License
480 stars 91 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 10 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.