-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update: Allow color gradient popover to be above the color toggle #37430
Update: Allow color gradient popover to be above the color toggle #37430
Conversation
Size Change: +82 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
c7db6e2
to
01b6ced
Compare
01b6ced
to
c34aea9
Compare
Sometimes I get vertical scrollbars too But this PR is in a very good state I think. I'd love some testing from folks here @jasmussen maybe |
c34aea9
to
800816a
Compare
The solution for the scroll caused other issues and seemed to do more harm than good. I removed the scroll fix but added a CSS rule that keeps the popover rendered as expected although if the screen is very small some parts may be hidden (in practice I think it will not be replicated unless one intentionally make the window very very small). Thank you for the reviews @youknowriad and @jasmussen. |
Cherry-picked for 5.9.1 |
This PR allows the color popover to be above the color buttons if there is no space below. Disables the position forcing and allows us to take advantage of the popover automatic position mechanism.
How has this been tested?
I made the window height equal to 700px.
I added a group block.
I opened the background color picker and verified the popover appears above and is completely visible as the screenshot shows.
Screenshots