You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you make a long list of checkboxes (e.g. a table grid with selectable rows), the checkboxes are focusable, but the scrollable parent element will not scroll them into view.
This issue seem to only apply when their is a inline scrollable parent element. Scrolling on the document level seem to work as expected.
Expected behavior
As with any focusable element, they should automatically be scrolled into view when they receive focus.
Desktop (please complete the following information):
OS: Windows
Browser: Edge
Version: 128
Additional context
My workaround:
.hoo-checkbox {
position: unset; /* position: absolute; seem to be the culprit */
display: block; /* To get rid of any whitespace */
width: 0;
height: 0;
margin: 0;
}
Describe the bug
If you make a long list of checkboxes (e.g. a table grid with selectable rows), the checkboxes are focusable, but the scrollable parent element will not scroll them into view.
This issue seem to only apply when their is a inline scrollable parent element. Scrolling on the document level seem to work as expected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As with any focusable element, they should automatically be scrolled into view when they receive focus.
Desktop (please complete the following information):
Additional context
My workaround:
Fiddle with workaround: https://jsfiddle.net/7vg2tkfu/1/
The text was updated successfully, but these errors were encountered: