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

Disconnect property changes from all pages when TabbedPage set to null #18458

Merged
merged 3 commits into from Nov 30, 2023

Conversation

maonaoda
Copy link
Contributor

@maonaoda maonaoda commented Nov 1, 2023

Description of Change

Issues Fixed

Fixes #18457

@maonaoda maonaoda requested a review from a team as a code owner November 1, 2023 03:47
@ghost ghost added the community ✨ Community Contribution label Nov 1, 2023
@ghost
Copy link

ghost commented Nov 1, 2023

Hey there @maonaoda! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@maonaoda
Copy link
Contributor Author

maonaoda commented Nov 1, 2023

This issue prevents me from resetting the tab's icon, can it be merged soon?

@PureWeen
Copy link
Member

PureWeen commented Nov 6, 2023

Makes sense

It'd be ideal to get a test together for this one
My thinking is that we can use device tests or appium to remove the TabbedPage and then add the same one back in.

Let me know if you want to try a hand at adding testing.
We have a doc here that needs a little bit of updating
https://github.com/dotnet/maui/blob/main/docs/design/UITesting.md

Otherwise @jsuarezruiz @jfversluis can take a look.

@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Eilon Eilon added the area/TabbedPage TabbedPage label Nov 9, 2023
@PureWeen
Copy link
Member

/rebase

@PureWeen PureWeen changed the title fix 18457 Disconnect property changes from all pages when TabbedPage set to null Nov 22, 2023
@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen merged commit f267a5c into dotnet:main Nov 30, 2023
47 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/TabbedPage TabbedPage community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forgot to remove PropertyChanged in TabbedPageManager of Element`s InternalChildren, which caused NRE
6 participants