2.2.1 (2021-10-07)
- 922183b: Do not restore focus when user clicks outside a trap area.
- 38921f4: Do not store node's ownerDocument since it can change for imported nodes.
- 0468372: Filter focusable elements.
- 4526982: Enhance focusout handler using relatedTarget
- 99940f5: Introduce focus and keyboard navigation behaviors.
- 459a4cb: Refactored the trap mechanism in order to handle video controls and iframe contents.
- f04dd1c: Expose the
focusManager
method.
- 858450c: Add focus manager to behaviors.
- 8645f7d: Add
types
entrypoint for exports map. - 93702f5: Rename
keyboardNavigationBehavior
options.
- 93702f5: Rename
keyboardNavigationBehavior
options.
- f04dd1c: Expose the
focusManager
method.
- 858450c: Add focus manager to behaviors.
- 99940f5: Introduce focus and keyboard navigation behaviors.
- 459a4cb: Refactored the trap mechanism in order to handle video controls and iframe contents.
- 8645f7d: Add
types
entrypoint for exports map.
- eb8015d: Correctly detect prev and next focusable item.
- aa3fd32: Fix focus on context enter when target has tabindex equal to -1.
- 7433466: Handle focus on iframes.
- 565bb65: Fix contexts chain.
- 3b813ae: Fix current target on enter.
- af34660: Check focus target before invoking callbacks
- 8b23515: Fix default context restore
- bf7d7f2: Check activeElement on click in context
- 0cf40d6: Prevent lock from focus hidden details content
- fa69402: Correctly initialize context
- re-adding the same disabled context (a450fad)
2.2.0 (2021-08-24)
- disabled state (0746519)