-
Notifications
You must be signed in to change notification settings - Fork 743
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: Make sure that an element can invalidate itself in Measure/Arrange #7428
Conversation
…) while in being measured / arranged
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.
4f4d18b
to
266ae34
Compare
The build 35678 found UI Test snapshots differences: Details
|
Bug fix
What kind of change does this PR introduce?
Make sure that an element can invalidate itself (and its parents) while it's being measured / arranged
What is the current behavior?
The
Is<Measure|Arrange>Dirty
flags are reset after the actual measure / arrange, so if the element or one of its children doInvalidate<Measure|Arrange>
(or alters the visual tree in a way which cause an invalidate), the flag is reset immediately after, preventing any new layouting phase.What is the new behavior?
The
Is<Measure|Arrange>Dirty
flags are reset before the actual measure.PR Checklist
Docs have been added/updated which fit documentation template (for bug fixes / features)Screenshots Compare Test Run
results.