-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Country Dropdown Hidden Mobile #1515
Comments
Looks like a z-index issue to me. You have an extremely high z-index on your |
Thanks for getting back to me. So yes, I tried putting the z-index high on the iti--container class. And the dropdown does show (see attached screenshot). However a few things:
Is there something that could be different in how mobile/desktop layout/elements/dom are created upon initialization? Seems weird that this would work on one and not the other. Unless I'm doing something wrong, but I'm really just doing the most basic use case it seems like. Thanks for your help and looking into it. |
Yeah on desktop we show a dropdown by the input, and on mobile we show a full screen popup, to make better use of the limited space. If you want to change this, see useFullscreenPopup option. |
OK. Great. I do like this better on mobile. Just didn't know this was on purpose or not. Sounds good. Thanks for the help! |
Steps to reproduce
Expected behaviour
On desktop this is fine. I've tested with newest version of Chrome and Safari.
On mobile chrome and safari, the dropdown element is being appended to the element and then by default is 'behind' the modal that pops up, so unusable.
Actual behaviour
Expected behavior is to have the dropdown positioned following the '#phone' element and visible to be usable.
Initialisation options
I've also tried with the options:
Not sure if I'm doing something wrong or if this is a bug somehow for mobile. The modal is initially hidden, so that might throw some of the initial configuration off when instantiated. However, doesn't seem to be a problem on these same browsers for desktop.
The text was updated successfully, but these errors were encountered: