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 and tooltips get cropped when the editor is wrapped in a narrow container #10939

Closed
gfox1984 opened this issue Dec 2, 2021 · 4 comments · Fixed by #12262
Closed

Toolbar and tooltips get cropped when the editor is wrapped in a narrow container #10939

gfox1984 opened this issue Dec 2, 2021 · 4 comments · Fixed by #12262
Labels
package:ui resolution:expired This issue was closed due to lack of feedback. squad:core Issue to be handled by the Core team. status:stale type:bug This issue reports a buggy (incorrect) behavior.

Comments

@gfox1984
Copy link

gfox1984 commented Dec 2, 2021

📝 Provide detailed reproduction steps (if any)

When you place CKEditor in a narrow container with overflow auto or hidden, its toolbar and tooltips get cropped.
I have created a jsfiddle that demonstrates the issue: https://jsfiddle.net/gfox1984/9nz0aqvL/

✔️ Expected result

The tooltip and toolbar should either display above the container (so they are not cropped) or they should wrap in the available space.

❌ Actual result

Tooltips are cropped:
image
Toolbar is cropped:
image

❓ Possible solution

Handle the toolbar and tooltips the same as the image toolbar for instance:
image

Or wrap the toolbar on several lines, as in #8553 (but within the overflow container, rather than within the window)
image

📃 Other details

Tested with:

  • Browser: Chrome 96
  • OS: Windows 10
  • First affected CKEditor version: probably all (tested with 31.0.0)
  • Installed CKEditor plugins: classic preset

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

@gfox1984 gfox1984 added the type:bug This issue reports a buggy (incorrect) behavior. label Dec 2, 2021
@FilipTokarski FilipTokarski added the squad:core Issue to be handled by the Core team. label Dec 2, 2021
@gfox1984
Copy link
Author

gfox1984 commented Dec 2, 2021

Just a note: I've verified that both the inline and balloon editors are able to display their toolbar outside of the container. That'd be nice to have the same capability for the classic editor.

@oleq
Copy link
Member

oleq commented Aug 22, 2022

Turns out #12262 didn't close this one. We need another fix.

@oleq oleq reopened this Aug 22, 2022
@Reinmar Reinmar removed this from the iteration 56 milestone Aug 23, 2022
@CKEditorBot
Copy link
Collaborator

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

@CKEditorBot
Copy link
Collaborator

We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

@CKEditorBot CKEditorBot added the resolution:expired This issue was closed due to lack of feedback. label Oct 30, 2023
@CKEditorBot CKEditorBot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:ui resolution:expired This issue was closed due to lack of feedback. squad:core Issue to be handled by the Core team. status:stale type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants