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

Balloon toolbar appears in a wrong place when editor is inside div with overflow:auto #216

Closed
tswistak opened this issue Feb 12, 2020 · 1 comment
Labels
Milestone

Comments

@tswistak
Copy link
Contributor

Hi!

Sorry for raising so many issues, but I'm currently implementing the editor in the app and finding out many new things. I've found out, that when I use editor inside a div that has scrollbars (constant height with set overflow to auto), position of toolbar is calculated wrong and appears way too high. I've created a reproduction environment on codesandbox: https://codesandbox.io/s/suneditor-scrolled-down-toolbar-yumjh
Also, screeenshot:
obraz

Cheers!

@JiHong88
Copy link
Owner

Hi, @tswistak
Thank you so much.
I'll fix the bug and apply it to the next version.

@JiHong88 JiHong88 added bug PR Pull requests and removed PR Pull requests labels Feb 13, 2020
JiHong88 added a commit that referenced this issue Feb 22, 2020
wrong place when inside div with auto overflow
@JiHong88 JiHong88 added this to the 2.26.0 milestone Mar 4, 2020
@JiHong88 JiHong88 closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants