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

Made Person credential screen scrollable #863

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

wadeking98
Copy link
Contributor

@wadeking98 wadeking98 commented Jan 30, 2023

Signed-off-by: wadeking98 wkingnumber2@gmail.com

Made Person Credential screen scrollable to allow users to access buttons with large text size
In the demo below, I've added a few buttons to demonstrate scrolling since I can't reproduce the issue on my device.
Screencast from 2023-01-30 08:45:49 AM.webm

Resolves: #858

Note: I've removed the safeAreaView. I couldn't figure out how to make it work with the scrollView. Something about the contentContainerStyle attribute meant that if I displayed the scrollView in the safeAreaView then the content would be blank. I see in other parts of the codebase that we have un-nested scrollViews so I figured it would be okay here

Copy link
Contributor

@amanji amanji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You still need the SafeAreaView to handle padding for iOS notched screens

Signed-off-by: wadeking98 <wkingnumber2@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Jan 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wadeking98
Copy link
Contributor Author

You still need the SafeAreaView to handle padding for iOS notched screens

Figured it out, I needed to add flex: 1 to the safe area view to make the layout work

@wadeking98 wadeking98 merged commit 1cf59c3 into bcgov:main Jan 31, 2023
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.

Unable to tap on "get your Person credential" (Person Credential Splash Screen)
2 participants