Hey everyone, I’ve created a hide and show interaction for my filter tabs, however I have an issue related to the 2nd click part of the interaction. For the moment, I have created a 1st and 2nd click. This way users can click the filter tab once to open, and then click it again to close it (Helps a lot for the UX from what I can tell). Given this, if the user wants to click any other element (like another filter tab), it requires 2 clicks.
I understand that if I were to not have a 2nd click on the tabs, then it would not create this double-click issue, however I really feel it’s necessary to give the user the option to close the tab by clicking the initial trigger.
If anyone has a workaround that allows the users to:
- Click the initial tab a second time to close it
- Avoid the double-click issue when clicking any other element
That would be super helpful… I’ve attached the link to my site below.