lion/.changeset/rich-apricots-argue.md
Danny Moerkerke 84173cdba1
fix(@lion/ui): [select-rich] listbox element always focused in overlay
when the overlay is shown, the "autofocus" attribute is added to _listboxNode (_inputNode) to make sure that keyboard navigation continues to work when the element is inside a bottomsheet. When the overlay is closed the attribute is removed.
2023-02-09 18:41:18 +01:00

5 lines
379 B
Markdown

---
'@lion/ui': patch
---
lion-select-rich: when the overlay is shown, the "autofocus" attribute is added to \_listboxNode (\_inputNode) to make sure that keyboard navigation continues to work when the element is inside a an element with `trapsKeyboardFocus:true`, like the bottomsheet created via `withBottomSheetConfig()`. When the overlay is closed the attribute is removed.