-
Notifications
You must be signed in to change notification settings - Fork 554
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
Login and Sign Up Popup renders blank on iPhone Browser (after upgrading to 11.12.1) #1588
Comments
My team and I are having the exact same issue. |
Do you have a specific website I can test? I just tested http://brucke.club and it works on my iPhone XR. |
https://proofd.app |
@crypto-jones can you see if this css helps? auth0/angular-lock#38 (comment) .auth0-lock.auth0-lock .auth0-lock-form {
display: initial !important;
} |
I'm having this issue on react-native WebView on iOS 12 |
@atalebagha can you test if the css snippet above fixes your issue? |
Yes it fixes the issue. |
I guess if you can live with the lack of padding (in lieu of trying to fix it manually with more css), this changed css will target iphones only (using .auth0-lock-iphone.auth0-lock .auth0-lock-form {
display: initial !important;
} |
Furthermore, I would like to point out that the fix for this from May 2018 at #1365 was reverted later in 93e4a04#diff-6e75cf9db4a3c7d943f8603dc182c0e9L314 I am not sure if that was intentional, but even with the latest 11.14.1 lock.js this is what happens more than 50% of the time: (without the above css addition) Simulator, iOS 12.1, iPhone X. Same problem on real device. |
A couple things I've discovered while looking at this bug (it's happening to us as well).
Based on these, I believe the css treatment for the My fix for this for now is this. (I've found that it also repros without user agent being set to iOS/iphone)
|
Try to use in the HTML
|
Hi there! I came back to fix this issue but I can't reproduce it anymore with 11.7. Can someone validate that this is fixed in this version and, if you're still having this issue, send me a link to reproduce it? |
@luisrudge do you mean 11.17? I just tested 11.17.2 in an iOS 13 simulator with our AngularJS app and removed our CSS fix. As you can see, the popup is still rendering blank. |
@ajmueller ok perfect. I tried to run outside of an angular app and couldn't repro. Can you put a simple repro of angular+lock with this issue on github? I'll clone and work based on that. Thanks! |
@luisrudge I've created a repository you can clone. I've tested this on Xcode's iOS 13 simulator and it reproduces the error as expected. A couple notes:
|
@ajmueller thank you so much for this! It's perfect. I'll repro and find a way to fix it 🎉 |
Description
After upgrading to 11.12.1 (from 11.11.0) the website popup renders blank on some iPhone devices (reproduced on iPhone X iOS11, iOS12)
NOTE: This issue does not exist on 11.11.0
Environment
Code snippet/reproduce:
The text was updated successfully, but these errors were encountered: