Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to keep the emoji picker open after emit an emoji #7

Closed
Bissel opened this issue Mar 22, 2021 · 1 comment
Closed

Option to keep the emoji picker open after emit an emoji #7

Bissel opened this issue Mar 22, 2021 · 1 comment

Comments

@Bissel
Copy link

Bissel commented Mar 22, 2021

This is pretty easy to to, just add an option like removeOnSelection defaults to true to keep the original behavior. And make an if-statement in the emitEmoji function:

if(this.removeOnSelection)
    picker.remove();

One of my testers mentioned that most people use multiple emojis and in my opinion it makes sens to have this option if wished.
And thanks a lot for the work on this picker.

@woody180
Copy link
Owner

Thanks. I have recently added to the parameters object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants