When using <Tearsheet>, we have floating element attached outside of the tearsheet DOM element, and <Tearsheet> does not allow moving focus onto the floating element.
The solution
In the <TearsheetShell> internal component, selectively destructure selectorsFloatingMenus from rest, and join the existing hardcoded selectorsFloatingMenus property value:
The problem
When using
<Tearsheet>
, we have floating element attached outside of the tearsheet DOM element, and<Tearsheet>
does not allow moving focus onto the floating element.The solution
In the
<TearsheetShell>
internal component, selectively destructureselectorsFloatingMenus
fromrest
, and join the existing hardcodedselectorsFloatingMenus
property value:Design link
No response
Links to other materials
carbon
selectorsFloatingMenus
https://react.carbondesignsystem.com/?path=/docs/components-composedmodal--overview#focus-managementOwner/main maintainer(s)
Nate(me)
Second/backup maintainer(s)
No response
Product/offering
No response
Business priority
High Priority = pressing release
Code of Conduct