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

Special characters dropdown stretches the editor container in specific cases #16325

Open
mabryl opened this issue May 8, 2024 · 0 comments
Open
Labels
package:special-characters package:ui squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.

Comments

@mabryl
Copy link
Contributor

mabryl commented May 8, 2024

📝 Provide detailed reproduction steps (if any)

  1. Place the editor in a div with a limited width
  2. Open the Special characters dropdown

✔️ Expected result

The Special characters dropdown should open within the bounds of the div that holds the editor.

The end goal here would be to prevent the dropdown from extending past the editable area when the viewport can technically still accommodate the dropdown.

❌ Actual result

The div that holds the editor seems to be getting stretched and the dropdown appears outside of the editable area:

image

Here's a recording of the issue appearing in a customer's demo:

Screen.Recording.2024-05-08.at.15.44.52.mov

❓ Possible solution

Possibly related to #5514 but changing the overflow property for the div doesn't seem to have any effect on this particular dropdown.

📃 Other details

  • Browser: cross-browser
  • OS: cross-OS
  • First affected CKEditor version: N/A
  • Installed CKEditor plugins: SpecialCharacters

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

@mabryl mabryl added type:bug This issue reports a buggy (incorrect) behavior. package:ui support:2 An issue reported by a commercially licensed client. package:special-characters squad:core Issue to be handled by the Core team. labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:special-characters package:ui squad:core Issue to be handled by the Core team. support:2 An issue reported by a commercially licensed client. type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

No branches or pull requests

1 participant