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

[Windows] Fix for the screen does not display when changing the CurrentPage of a TabbedPage #25690

Closed

Conversation

Tamilarasan-Paranthaman
Copy link
Contributor

Root cause

While navigating to the next page, the MeasureOverride method is repeatedly called on the parent, which prevents the Arrange method from being called.

Description of change

The OnChildMeasureInvalidatedInternal method has been modified to ensure that measure invalidation is only propagated to the parent when necessary, preventing unnecessary repeated calls to OnChildMeasureInvalidatedInternal.

References

Issues Fixed

Fixes #25518

Tested the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Screenshot

FixVideo.mp4

@jsuarezruiz
Copy link
Contributor

Could you rebase to fix the conflicts? Thanks in advance.

@albyrock87
Copy link
Contributor

@Tamilarasan-Paranthaman may you check if #25664 solves this issue too?

@PureWeen PureWeen self-assigned this Nov 6, 2024
Copy link
Member

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

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

Add a test

@Shalini-Ashokan
Copy link

/rebase

@Shalini-Ashokan
Copy link

@PureWeen, I have added test cases

@PureWeen
Copy link
Member

PureWeen commented Nov 9, 2024

Closing this for now

#25518 (comment)

@PureWeen PureWeen closed this Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Windows] The screen does not display when changing the CurrentPage of a TabbedPage.
5 participants