Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar is incorrectly positioned in inline mode when inside scroll container #4839

mattford opened this Issue Feb 19, 2019 · 3 comments


None yet
2 participants
Copy link

mattford commented Feb 19, 2019

Bug report

What is the current behavior?
When using the modern theme in inline mode in a scroll container, the toolbar is misaligned if scrolled down in the scroll container

Having trouble reproducing this on fiddle, think because the result is shown in an iframe, HTML code to reproduce attached.

What is the expected behavior?
I would expect to see the toolbar correctly positioned relative to the scroll container

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
4.9.3, Chrome 72

I have tried the ui_container config option but this doesn't help. I think the problem lies in the handling of scroll container within the Modern theme


This comment has been minimized.

Copy link

blackcathikari commented Feb 25, 2019

@mattford We think we've replicated this, could you please check it's the same behaviour?

  2. Scroll down in the editor area, inside the scroll container
  3. Double click editor text

Toolbar goes to the bottom of the page, or is offset by the scroll amount if the editor was clicked into before scrolling.

Note: can't replicate in 5.0.0.


This comment has been minimized.

Copy link

mattford commented Feb 25, 2019

@blackcathikari that's the same behaviour yes


This comment has been minimized.

Copy link

blackcathikari commented Feb 26, 2019

Thank you! I'll talk to the team about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.