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

iOS ScrollView scroll bar position fix #562

Merged
merged 4 commits into from
Mar 15, 2021
Merged

Conversation

DF-ClaytonMatulich
Copy link

Description of change

On iOS, the scrollbar from the ScrollView component would occasionally render in the center of the screen. This seems to be a bug with react native, and issue about this can be found here: facebook/react-native#26610

We can fix this by forcing a default scroll bar position on iOS

Original issue(s)

department-of-veterans-affairs/va.gov-team#21450

Screenshots

Before:
Screen Shot 2021-03-12 at 11 50 35 AM

After:
Screen Shot 2021-03-12 at 11 51 45 AM

Testing Considerations

Reviewers

@DF-ClaytonMatulich DF-ClaytonMatulich requested review from jmarchi and a user March 13, 2021 00:07
@DF-ClaytonMatulich DF-ClaytonMatulich self-assigned this Mar 13, 2021
@DF-ClaytonMatulich DF-ClaytonMatulich requested a review from a user March 15, 2021 15:40
@DF-ClaytonMatulich DF-ClaytonMatulich merged commit 4396e1f into develop Mar 15, 2021
@DF-ClaytonMatulich DF-ClaytonMatulich deleted the cm.scroll-bar-fix branch March 15, 2021 19:30
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.

3 participants