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

Scrollview - fix text centered on render when centerContent is true #1839

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

shwanton
Copy link

@shwanton shwanton commented Jun 1, 2023

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Changelog

[MACOS] [FIXED] - Scrollview - fix text centered on render when centerContent is true

Test Plan

Before - Must scroll before content is centered

CleanShot.2023-05-31.at.18.48.07.mp4

After - Vertical

CleanShot.2023-05-31.at.18.44.26.mp4

After - Horizontal

CleanShot.2023-05-31.at.18.45.06.mp4

@shwanton shwanton marked this pull request as ready for review June 1, 2023 02:12
@shwanton shwanton requested a review from a team as a code owner June 1, 2023 02:12
@shwanton shwanton force-pushed the scrollview-fix-center-content branch from 4125cab to bc59c83 Compare June 1, 2023 02:52
@Saadnajmi Saadnajmi merged commit f1510a5 into microsoft:main Jun 1, 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.

2 participants