draft-js-plugins / draft-js-plugins

React Plugin Architecture for Draft.js including Slack-Like Emojis, FB-Like Mentions and Stickers
https://www.draft-js-plugins.com/
MIT License
4.09k stars 1.06k forks source link

Don't close emoji suggestion after click on editor #2081

Closed vrg-success closed 3 years ago

vrg-success commented 3 years ago

Describe the feature

I'm working on project which has draftjs with emoji plugin and we are recording users behavior for improve our UX, so many users have problem with emoji suggestions and ediltor, emoji suggestion close after user focus on text editor(draftjs). Would be so good if you will add new prop name closeOnEditorFocus/closeOnEditorClick for component

https://github.com/draft-js-plugins/draft-js-plugins/blob/44423cee7c/packages/emoji/src/components/EmojiSelect/index.tsx#L70

fxOne commented 3 years ago

Can you please explain in detail what you want to achieve?

As far as I understood you are talking about the button to add emojis and want to prevent it to be closed when the user clicks somewhere else. Is this correct?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.