-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Replace overflow:hidden/auto with display:flow-root #6795
Comments
cc @oleq WDYT? |
Certainly requires some research but makes sense. |
What Oleq meant is that we need to test that it works fine :D |
Feature (widget): Brought the feature allowing users to type in tight spots around block widgets where web browsers do not allow the caret to be placed (see #407). Closes #6740. Closes #6688. Closes #6689. Closes #6695. Internal (horizontal-line): Updated the styling of .ck-horizontal-line from overflow: hidden to display: flow-root to allow the typing around UI inside the widgets (see #407, #6795). Tests (image): Updated various image test to take the widget typing around feature into account (see #407). Fix (media-mebed): The media widget conversion should not discard widget internals (drag or resize handlers, buttons to insert paragraphs, etc.) injected by other features when converting the URL (see #407). Feature (theme-lark): Brought styles for the feature allowing users to type in tight spots around block widgets (see #407). MINOR BREAKING CHANGE: The new --ck-color-focus-border-coordinates CSS custom property has been added and the existing --ck-color-focus-border property now uses it internally. If your integration overrides the latter, we recommend you update the former to avoid compatibility issues with various editor UI features.
I checked our codebase and there are just a few places we can change this:
In other cases WDYT @Reinmar? Are we OK with this breaking change? |
I wouldn't do anything for now. This breaking change would not be justified here. Let's see if we'll be asked about the tooltips or similar issues often enough to change our mind. |
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 still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
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). |
📝 Provide a description of the improvement
We're using
overflow:hidden
oroverflow:auto
in order to extend a container to all its floated content.However, it's now possible to use
display:flow-root
which has the same effect but does not affect visibility.One of the places that we should re-style is the editable that currently uses
overflow:auto
which makes displaying some floating things or e.g. tooltips in the editable troublesome.If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: