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

Reset .auth0-lock-form display to 'initial' for iPhone #1745

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

stevehobbsdev
Copy link
Contributor

@stevehobbsdev stevehobbsdev commented Oct 28, 2019

Changes

Reset the display property on .auth0-lock-form when on iPhone. Also reset padding on the content element, as initial removes this when applied.

This should fix an issue where the form isn't displayed properly when first displayed on the screen, as verified using a sample repo kindly provided by @ajmueller (#1588 (comment)).

Fixes #1588

References

Testing

Tested using the iPhone simulator running the sample repo provided for this issue.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language

Checklist

Also reset padding on the content element, as `initial` removes this
when applied.
@stevehobbsdev stevehobbsdev requested a review from a team October 28, 2019 16:35
@stevehobbsdev stevehobbsdev self-assigned this Oct 28, 2019
@luisrudge luisrudge merged commit 6cd6014 into master Oct 28, 2019
@stevehobbsdev stevehobbsdev deleted the fix/iphone-display branch October 28, 2019 17:00
@stevehobbsdev stevehobbsdev added this to the v11.18.1 milestone Oct 28, 2019
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

Successfully merging this pull request may close these issues.

Login and Sign Up Popup renders blank on iPhone Browser (after upgrading to 11.12.1)
3 participants