1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-11 08:04:59 +02: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

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