-
Notifications
You must be signed in to change notification settings - Fork 555
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
v11 embedded height too large (100vh) on mobile #1709
Comments
For anyone else facing this, add this css and it should do the trick. Make sure it's not "scope" limited in anyway (like using scope keyword in Vuejs application). And yea, I know !important is gross. It gets the job done in this situation.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇♂️ |
This is still an issue @Stale |
This is now released in v11.20.4. Closing this for now, if you feel it hasn't solved your issue, please feel free to continue the discussion. |
Issue still remains, I think version is 11.26. Solved it quick and dirty by adding this to the head of the Universal login HTML:
|
We're seeing this as well on v11.27 and v11.28. You can see our login page here: https://luminate.arena.io Which looks like this if you make the window phone-sized: |
Looking at #1785, I think the problem is that in our case we have HTML outside of the lock, so the logic correctly makes the lock the size of the entire screen, but that sizing isn't desirable unless the lock is the only thing on the screen. Is there a way to tell the lock that it doesn't own the screen? Auth0's universal login customization isn't very useful if we're not allowed to display anything except the lock. |
Description
I'm embedding lock using the
container
option. When embedded and viewed on a mobile device in portrait mode, thediv
withclass
auth0-lock-cred-pane-internal-wrapper
has a height of 100vh, which isn't correct. I believe it should beauto
.When
100vh
is used, the lock "widget" is 100vh forcing the sign in button and other details to be cut off the screen if the lock "widget" doesn't start at height 0. For example, if you have a menu bar at the top.Prerequisites
Environment
Please provide the following:
Reproduction
Embed the lock using the container option. Put anything above the container with a height > 0. View on mobile device or using chrome dev tools in portrait mode. The lock will force a scroll with a bunch of unnecessary whitespace.
Please include:
The text was updated successfully, but these errors were encountered: