<Dropdown>
Component
<Dropdown>
is a non-visual context menu container with dynamic visibility (show/hide) in sliding fashion.
You need to place <YourComponent>
inside the <Dropdown>
in order to make the appearance.
<Dropdown>
is similar to <Collapse>
with additional handling of esc key and blur event to close itself. Once closed, the <Dropdown>
restores the focus to the previously focused element.
<Dropdown>
also handles tab key to switch focus only for the focusable elements inside <YourComponent>
.
Here the demo: