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

flag not visible in Safari #111

Open
david-vendel opened this issue Nov 8, 2021 · 6 comments
Open

flag not visible in Safari #111

david-vendel opened this issue Nov 8, 2021 · 6 comments

Comments

@david-vendel
Copy link

Country flag is not visible in Safari

Screenshot 2021-11-08 at 10 56 48

@isaacwuerth
Copy link

I have the same problem with Chrome, Inspect Browser and Safari on iphone(iOS v15.0.1, iPhone 13 Pro).

@n8sabes
Copy link

n8sabes commented Dec 19, 2021

I am having this issue on iPhone as well (both Safari and Chrome).

@david-vendel
Copy link
Author

Hello all, I forked this library, fix Firefox and Safari bug (and plan to fix other issues and rewrite to fn component) and published it to npm as material-ui-phone-number-2

https://github.com/justdvl/material-ui-phone-number-2
https://www.npmjs.com/package/material-ui-phone-number-2

I recommend everyone who needs to use this library, but working version, to make a simple switch. I will also actively maintain this version 2 library.

@viclafouch
Copy link

viclafouch commented Jun 6, 2022

Or another library : https://www.npmjs.com/package/mui-tel-input (with phone validation available) React 17/18 supported with MUI V5

@JadeJDoucet
Copy link

For me the fix was finding where the SVG was rendered, and adding overflow: visible and then setting the height on the svg.

@yasincelebi
Copy link

<MuiPhoneNumber {...props} sx={{ '& svg': { height: '1em', }, }}

i added above sx prop to MuiPhoneNumber component and it is resolved.

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

6 participants