2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

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

This commit is contained in:
Gaël Poupard
2025-05-04 22:21:30 +02:00
committed by GitHub
parent 4c98145482
commit c5bec4ea7b
+5
View File
@@ -19,6 +19,11 @@
&:not(caption) { &:not(caption) {
position: absolute !important; 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 // Use to only display content when it's focused, or one of its child elements is focused