-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix the keyboard overlapping buttons on the sign in form #12848
Merged
+75
−121
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
33f9703
Refactor to include isLargeScreenWidth
tgolen 1aaafa7
Restrict the height of the spacer
tgolen 85a4fc5
Make terms have a minimum width like the form
tgolen 8c11b66
Merge branch 'main' into tgolen-fix-signin-keyboard-avoiding
tgolen a17a267
Fix conflicts from theme work
tgolen 17e8d31
Get layout working on web and android
tgolen 1bb4d4b
Remove medium screen layout
tgolen 391fd42
Remove medium screen styles
tgolen 69ae909
Merge branch 'main' into tgolen-fix-signin-keyboard-avoiding
tgolen 19f654f
Removed unused import
tgolen c351516
Make sure the padding is the same on the password form
tgolen bda077c
Add a little vertical mergin
tgolen 8ffc298
Keep the form a fixed width on small to medium screens
tgolen efd0738
Center the form better and fix iphone SE
tgolen 7208991
Always keep the form the same width
tgolen 5c2d8d2
Merge branch 'main' into tgolen-fix-signin-keyboard-avoiding
tgolen bbba5e5
Merge branch 'main' into tgolen-fix-signin-keyboard-avoiding
tgolen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this change for?
Because of this, horizontal padding is not consistent between email page and password page
tested on iPhone SE
you can see button width are different
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, this stuff is so finicky.
The reason I added the auto-margins is:
alignSelfCenter
, and that works. BUT at small screen widths, that style also centers the content vertically 😡 and adds a lot of unintended margin to the top and bottomI have fiddled with it again today to remove the margin auto and get the
alignSelfCenter
working.I narrowed the problem you saw with iPhone SE down to the
props.welcomeText
. It seems the difference in text was causing the width of the container to change size... so I have restricted that text to 300px wide always.Updated!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you (or a reviewer) share a quick video of the sign in page going from small to wide? Just want to check and see how the responsive styles are working, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you go:
2022-12-01_12-50-20.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, looks good to me, thanks for making the video!