We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
In our apps, we have to add a patch to match the following expected result.
Context :
Actual result: Nothing happens
Expected result: Search is cleared, emojis from the clicked category are displayed.
Would it be possible to make it the default behavior, or add an option for it? I'll create a PR as a proposal.
Here is our patch:
const categoryButtons = picker.shadowRoot.querySelectorAll('#nav > div > button'); categoryButtons.forEach(categoryButton => { categoryButton.addEventListener('click', () => { const clearSearchButton = picker.shadowRoot.querySelector('.search > button'); if (clearSearchButton) { clearSearchButton.click(); // Reclick button after clearing search to go to category setTimeout(() => categoryButton.click()); } }); });
Before:
After:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
In our apps, we have to add a patch to match the following expected result.
Context :
Actual result: Nothing happens
Expected result: Search is cleared, emojis from the clicked category are displayed.
Would it be possible to make it the default behavior, or add an option for it?
I'll create a PR as a proposal.
Here is our patch:
Before:
emoji-mart-go-to-category-while-search-active-before.mp4
After:
emoji-mart-go-to-category-while-search-active-after.mp4
The text was updated successfully, but these errors were encountered: