Is it possible to create DropDown Elements that close on page click?

Hi All!

I was wondering if anyone on the forums has had experience creating dropdown elements that close when the user clicks elsewhere on the page? I understand this is possible with popups, but those feel disruptive to our user flow, we want them to feel like they’re staying on the same application.

Thank you,
Nicholas Choi

Hi @nchoi :slight_smile: A similar alternative is to create a dropdown using a button and groupfocus element. When the button is clicked, the groupfocus is shown with the group of options that a User can click on. Or, if the User decides to click the page, the Groupfocus will automatically close.

1 Like

Yep, that’s what you’re looking for.

Got it! Thank you so much @fayewatson and @keith! That’s very helpful :slight_smile:

2 Likes