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

EmojiPicker extremely slow on Safari #404

Open
bojandurmic opened this issue Mar 6, 2024 · 5 comments
Open

EmojiPicker extremely slow on Safari #404

bojandurmic opened this issue Mar 6, 2024 · 5 comments

Comments

@bojandurmic
Copy link

Hey everyone, I'm not sure if I am doing something wrong or if this is a known issue.

This is my code:

<EmojiPicker
  width={360}
  height={400}
  theme={Theme.AUTO}
  skinTonesDisabled={true}
  reactionsDefaultOpen={true}
  open={reactionPickerShown}
  previewConfig={{
    showPreview: false,
  }}
  lazyLoadEmojis
  onReactionClick={onReactionClick}
  onEmojiClick={onReactionClick}
/>;

Whenever reactions are expanded, Safari freezes up for over five seconds before finally showing the full emoji picker. Chrome has no such issue. Is there anything I can do speed it up? It seems like it spends most of the time trying to download images and render DOM nodes.

@ealush
Copy link
Owner

ealush commented Mar 6, 2024

Can you try without lazyLoadEmojis?

@bojandurmic
Copy link
Author

Hey @ealush , it's neither better nor worse.

@bart-wijnants-hs
Copy link

We're noticing the same behaviour.

@minjo0n61
Copy link

I guess you didn't use emojiStyle="native"

@bart-wijnants-hs
Copy link

We are using emojiStyle="native".

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

4 participants