country flag emoji dose dose not work on firefox in autocomplete drawer #27525
Labels
Comments
|
Thanks for the feedback. I can't find any difference between Firefox and Chrome in https://material-ui.com/components/autocomplete/#country-select: Could you be more specific what the issue is in firefox? In the future please use the issue template since it already includes these questions. |
|
from locking around, this thread https://stackoverflow.com/a/54520964 suggest that it might only be a windows specific problem. to |
|
Reading through https://stackoverflow.com/questions/54519758/flag-emojis-not-rendering/54520964 it sounds like we should be using actual images instead. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



see country selector here in firefox from the example in the documentation:
https://material-ui.com/components/autocomplete/#country-select
in chrome there is no support for country flags emoji so its not relevant there.
if found out the issue is duo to letter-spacing style property in the component .MuiAutocomplete-paper and in the body.
you can solve the issue by setting the letter-spacing for the .MuiAutocomplete-paper component to "0px"
for example to test this you can run this command in the console and then click to open the drawer and wait for the flags to appear in 3 seconds:
one solution that i found is just putting the emoji icon in a component with style property letter-spacing set to 0:
The text was updated successfully, but these errors were encountered: