tailwind-starter-kit icon indicating copy to clipboard operation
tailwind-starter-kit copied to clipboard

Dropdown needs to close on click elsewhere

Open vedmant opened this issue 4 years ago • 6 comments

Dropdown needs to close on click elsewhere

vedmant avatar Dec 19 '20 12:12 vedmant

Hello there, @vedmant ,

Yes, you are right, but at the moment we do not know how it would be best to do this. If you have any idea, you can open a PR and if everything checks out, we'll approve it.

Best, Manu

einazare avatar Dec 23 '20 08:12 einazare

https://medium.com/@kevinfelisilda/click-outside-element-event-using-react-hooks-2c540814b661

Sensiblemnd avatar Mar 05 '21 15:03 Sensiblemnd

I suggest you used @headless-ui for better functionality

acatzk avatar Apr 10 '21 11:04 acatzk

Hello there, @acatzk ,

The problem with Headless UI is the fact that it only comes with React & VueJS, and there would be differences between React, Angular, VueJS, and Vanilla JS. I think we should keep the same functionalities in all of our versions of this project.

Best, Manu

einazare avatar Apr 12 '21 06:04 einazare

@einazare, Can i work on this?

Priyanka11-dev avatar Oct 11 '21 03:10 Priyanka11-dev

@Priyanka11-dev thank you for your interest. Yes, you can create PR with your idea. I assign you this issue.

marqbeniamin avatar Oct 11 '21 10:10 marqbeniamin