geist-ui
geist-ui copied to clipboard
Feature: ButtonDropdown close menu on click
Feature request 🚀
As stands, Items in a ButtonDropdown component stay open when clicked. This is great for when routes change or UI changes but should there be a choice to have the dropdown menu close when an item is clicked - This is a great component but with limited use right now.
- [x] I will create Pull Request
Expected
- When ButtonDrppdown.item is clicked, have an option to keep it open or close onClick.
Examples
<ButtonDropdown.Item closeOnClick={true}>