Dropdown data-close-on-click-inside

I’d like the dropdown to close when I click an item inside it. I found an old conversation on Github where they indicated we could use data-close-on-click-inside, but that doesn’t seem to be included anymore. Any suggestions?