-
Notifications
You must be signed in to change notification settings - Fork 49
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
Calculation of width from perLine not matching #125
Comments
@jotoeri Ah, yes, native emoji do depend on the local setup - in this case emojis are rendered with a local font provided by the operating system. So it can not only vary for different OSes, but can also be different depending on a set of fonts installed on the specific machine. This "feature" is controlled by
Maybe this can be tweaked to achieve a better result (but anyway, it is not possible to avoid end-user machine dependency here, see more information about this in the readme). For the record, here is how the picker in demo app looks for me (Mac OS, Firefox and Chrome): |
Uhh, ok. So sorry, should probably have read a bit more. 🙈 |
The calculation of the picker-width out of the perLine-prop seems a bit off? Probably not respecting the padding between emojis?
-> On the example, perLine is set to 9, but only shows 7 emojis per line.
However, might indeed be hard to calculate that, especially, if the padding between emojis might change with emoji-size? 🤔
Greets :)
Jonas
EDIT: Recognized on v10.0.1 😉
The text was updated successfully, but these errors were encountered: