fix(visually-hidden): prevent overflowing children to become focusable

This commit is contained in:
Gaël Poupard 2025-03-11 10:20:07 +01:00
parent 53171ad564
commit d313333890
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@
&:not(caption) {
position: absolute !important;
}
// Fix to prevent overflowing children to become focusable
* {
overflow: hidden !important;
}
}
// Use to only display content when it's focused, or one of its child elements is focused