-
-
Notifications
You must be signed in to change notification settings - Fork 170
Description
Describe the bug
I implemented an example code to add an emoji-picker using the popover and command components.
I noticed 2 latency issues when running dev that are improved when running preview but still subtly noticeable:
-
Lag on clicking popover trigger and popover command contents showing. This is expected because of the large size of emojis to render but flagging in case there is a quick win / optimization.
-
With
shouldFilter=false, typing the first value in the input has a noticeable lag before the input text is visible.
It seems some internal filtering logic is still running when starting a search.
I would expect that settingshouldFilter=falsewould completely delegate handling of filtering to the caller.
Even when I comment out my custom filtering and just render the full set of emojis, searching (which should no-op) is still slow on first input.
Again this is mainly noticeable when running dev, when building and running preview it's better. So flagging in case it's still pointing to a bug.
Reproduction
Severity
annoyance