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

Expand visually-hidden-focusable so it can be used on a container, so the container becomes visible when focus is inside it / on one of its child elements.

This commit is contained in:
Patrick H. Lauke
2020-12-11 23:28:45 +02:00
committed by XhmikosR
parent 9b6c815148
commit eae52b1cb0
4 changed files with 12 additions and 5 deletions
+4 -1
View File
@@ -9,6 +9,10 @@ toc: true
## v5.0.0-beta2
### Sass
- Extended the `.visually-hidden-focusable` helper to also work on containers, using `:focus-within`.
### JavaScript
- The default value for the `fallbackPlacements` is changed to `['top', 'right', 'bottom', 'left']` for better placement of popper elements.
@@ -58,7 +62,6 @@ Breakpoints specific variants are consequently renamed too (eg. `.text-md-start`
- Renamed `$form-check-inline-margin-right` to `$form-check-inline-margin-end`.
- Renamed `$form-select-feedback-icon-padding-right` to `$form-select-feedback-icon-padding-end`.
### JavaScript
- Data attributes for all JavaScript plugins are now namespaced to help distinguish Bootstrap functionality from third parties and your own code. For example, we use `data-bs-toggle` instead of `data-toggle`.