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

Scroll through all categories #423

Open
dliebner opened this issue May 31, 2024 · 2 comments
Open

Scroll through all categories #423

dliebner opened this issue May 31, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@dliebner
Copy link

It seems the default behavior is to have to click between categories to view all emoji (as opposed to just scrolling through all available emoji). I scanned the docs to see if this is configurable but didn't see anything, can the picker be configured to scroll through all available emoji without having to click between categories?

@nolanlawson nolanlawson added the enhancement New feature or request label Jun 1, 2024
@nolanlawson
Copy link
Owner

I know some emoji pickers work this way, but there are performance and accessibility considerations if emoji-picker-element was going to support both modes. For example:

  • perf: right now the list of emojis is just rendered (no list virtualization), which is fine for a small number of emoji in a single section but could be slow if we're rendering every emoji ever
  • a11y: right now the emojis are modeled semantically as a tabpanel – typically a virtual list is modeled as a feed or list or something similar.

Not saying it couldn't be done, but it would be a big overhaul of the current implementation.

@dliebner
Copy link
Author

dliebner commented Jun 2, 2024

Gotcha. Thank you for the answer!

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

No branches or pull requests

2 participants