<DropdownList>
Component
<DropdownList>
is a context menu of <List>
.
<DropdownList>
is similar to <Collapse>
with additional handling of esc key and blur event to close itself. Once closed, the <DropdownList>
restores the focus to the previously focused element.
<DropdownList>
also handles tab key to switch focus only for the focusable <ListItem>
inside the <DropdownList>
.
Here the demo: