-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix support of sticky position in non-iframed post editor #53540
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,9 @@ | |
| position: relative; | ||
| display: flex; | ||
| flex-flow: column; | ||
| overflow: hidden; | ||
| &.is-isolated { | ||
| overflow: hidden; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it hurt to always apply this rule?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, unfortunately
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, sorry, I meant to never apply this rule. There's no comment about why it's needed
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added a comment with explanation for both cases. I also inverted the application of the class. It seems a hair neater that way as a class isn't added for what is the expected case.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Ah, gotcha. And thanks for adding the explanatory comment @stokesman! @ellatrix there's a screengrab on the earlier PR that added |
||
| } | ||
|
|
||
| // Gray preview overlay (desktop/tablet/mobile) is intentionally not set on an element with scrolling content like | ||
| // interface-interface-skeleton__content. This causes graphical glitches (flashes of the background color) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a comment prior to this rule explaining why
overflow: hiddenis only applied when.is-isolatedis applied? It's a tricky edge case this one, so could be good to make sure we don't accidentally reintroduce the problem further down the track.