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

Scroll viewer layoutbug #2859

Merged
merged 13 commits into from
Aug 8, 2019
Merged

Conversation

decrowle
Copy link
Contributor

@decrowle decrowle commented Jul 31, 2019

Moving the spot fix introduced by #2584 to NativeUIManager's UpdateExtraLayout method so that it can be applied to any control introduced to the tree in case similar bugs would be introduced by controls other than ScrollViewer/Picker. UpdateLayout will now be run on controls at the time that DoLayout is called from onBatchComplete. This should allow the controls to evaluate their final size before the rest of the layout is finished.

Microsoft Reviewers: Open in CodeFlow

@decrowle decrowle requested a review from a team as a code owner July 31, 2019 20:07
@ghost ghost added the vnext label Jul 31, 2019
@decrowle
Copy link
Contributor Author

Addressing issue #2642

Copy link
Contributor

@kmelmon kmelmon left a comment

Choose a reason for hiding this comment

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

🕐

@ghost ghost added Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity) and removed Needs: Author Feedback The issue/PR needs activity from its author (label drives bot activity) labels Jul 31, 2019
@decrowle decrowle requested a review from kmelmon August 2, 2019 22:35
Copy link
Contributor

@kmelmon kmelmon left a comment

Choose a reason for hiding this comment

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

:shipit:

@decrowle decrowle requested a review from kmelmon August 8, 2019 19:37
kmelmon pushed a commit to kmelmon/react-native-windows that referenced this pull request Aug 16, 2019
* Moving picker fix

* Add controls to vector and check ShadowNode func needsForceLayout

* Clear m_needsForceLayout between calls to DoLayout
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.

4 participants