nolanlawson / emoji-picker-element

A lightweight emoji picker for the modern web
https://nolanlawson.github.io/emoji-picker-element/
Apache License 2.0
1.43k stars 82 forks source link

click event bug for search bar and category select #330

Closed DanuldeManul closed 1 year ago

DanuldeManul commented 1 year ago

Hey! hope things are well there! i've managed to wire up the component but have run into an issue when clicking on either the category select or the search bar that will cause the component to close. i've checked all the methods i use that would possibly cause the menu it's being used in to be set to false but there is none so i was wondering if there isn't anything on those click events or perhaps the method that would cause it to close on click?

nolanlawson commented 1 year ago

emoji-picker-element itself doesn't have any concept of "close" – maybe the modal/component you've wrapped it in is capturing the click event?