Minor Changes
-
b09b1af: [overlays] update trapskeyboardfocus feature to use native dialog
trapskeyboardfocus feature is updated to use native Dialog for trapping focus. It bring some breaking changes:
- Endpoints removed:
containFocus,rotateFocusfrom@lion/ui/overlays.js - Undocumented protected configuration property for Overlays
_noDialogElis removed. It allowed to usedivelement instead ofdialogfor rendering dialogs OverlayController#enableTrapsKeyboardFocus,OverlayController#disableTrapsKeyboardFocushave been removedOverlaysManager#disableTrapsKeyboardFocusForAll,OverlaysManager#informTrapsKeyboardFocusGotEnabled,OverlaysManager#informTrapsKeyboardFocusGotDisabledhave been removed
The change in the behaviour from UX point of view:
The main difference is that the navite modal dialog does not trap the focus inside the dialog entirely. It allows to switch from the dialog to the browser's panels. It's done by design to improve a11y expirience and let users switch browser's tab as example if they want so. - Endpoints removed:
Patch Changes
- d39c6b7: [overlays] improve hide behavior after teardown and registration check