-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Cant scroll page
When the "Color" widget is the last widget in an array of widgets, opening the picker opens the pop up below the widget. This results in addtional scroll height of div class "css-195712k-PreviewPaneContainer-ControlPaneContainer".
When the color picker is open, mouse wheel scroll only reacts when hovering within div "ColorPickerContainer".
To Reproduce
- Create a random array of widgets that take up more then 150vh
- Set widget "Color" as the last in the array
- Open color widget and try to scroll when NOT hovering over the widget
Expected behavior
Scroll response within the entrie editor page
Screenshots
1: Color picker at the end of the page
2: Color picker openen, no scroll response on hover outside of the picker container
3: Scrolled to bottom, hovering over the picker container; notice lack of margin on the bottom
Cause
The "ClickOutsideDiv" container is stopping scroll input to "PreviewPaneContainer-ControlPaneContainer"
Possible quick ('n dirty) fix
Adding a padding-bottom of around 160-200px to "PreviewPaneContainer-ControlPaneContainer" would make user scroll down further, then the color picker would not open outside of the viewport. (I'd add an additonal 100px padding-top to the same parent container as well, just for supported looks.
Or well, add an event listener to that parent element when the picker is open.