-
-
Notifications
You must be signed in to change notification settings - Fork 202
Enhance Grid Layout Resilience with overflow: clip #8981
Copy link
Copy link
Closed
Labels
Description
Problem: The HeaderToolbar in Neo.grid.Container can be scrolled out of view when the GridBody receives focus or is subjected to scrollIntoView(). This occurs because the parent container has overflow: hidden, which browsers still treat as scrollable programmatically (e.g., to align a focused child).
Solution: Use the modern CSS property overflow: clip (specifically overflow-y: clip) instead of hidden. This strictly prevents all scrolling on that axis, including programmatic scrolling, making the layout resilient to focus/scrollIntoView interactions without relying on JavaScript preventScroll hacks.
Scope:
- Modify
resources/scss/src/grid/Container.scss. - Update
.neo-grid-wrapperand.neo-grid-containerto useoverflow-y: clip. - Verify this does not regress intended scrolling within
GridBody.
Note: This is a "Side Quest" improvement for grid layout robustness.
Reactions are currently unavailable