geist-ui icon indicating copy to clipboard operation
geist-ui copied to clipboard

Feature: ButtonDropdown close menu on click

Open dougwithseismic opened this issue 3 years ago • 0 comments

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}>

dougwithseismic avatar Apr 07 '22 20:04 dougwithseismic