NcActions
doesn't work inside an element with a focus trap in a general case
#4910
Labels
1. to develop
Accepted and waiting to be taken care of
accessibility
Making sure we design for the widest range of people possible, including those who have disabilities
NcActions
handleskeydown
on the menu element. It works only when a menu item has a focus.Because
NcActions
renders in thebody
by default, when it's used in a component with a focus trap, the focus trap blocks the focus and breaks keyboard navigation.In a specific case, it can be adjusted by setting
container
. But not in a general case.The current idea — provide a container for mounting from an element with a focus trap (overlapping elements like Navigation, Sidebar, Modal), and not to mount in the body by default.
The text was updated successfully, but these errors were encountered: