-
-
Notifications
You must be signed in to change notification settings - Fork 202
Fix Grid Keyboard Navigation and Focus Layout Shift #8980
Copy link
Copy link
Closed
Labels
Description
Problem: Keyboard navigation in the grid is broken. Selecting a row or cell no longer triggers focus on the grid body wrapper, preventing KeyNavigation from capturing arrow key events. Additionally, focusing the body wrapper manually causes a layout shift where the header toolbar is scrolled out of view.
Scope:
- Focus Restoration: Ensure
GridBodyreceives focus on row/cell clicks. - Layout Stability: Implement
preventScrollsupport forfocus()to stop the browser from scrolling the parent container.
Changes Required:
src/main/DomAccess.mjs: Updatefocusto supportpreventScroll.src/component/Base.mjs: Updatefocussignature to passpreventScroll.src/grid/Body.mjs: Callthis.focus(this.vdom.id, false, true)inonRowClick.
Reactions are currently unavailable