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

fix(visualstates): fix rolling back properties when the next state doesn't modify a property, but modifies one of its subproperties #16714

Merged

Conversation

ramezgerges
Copy link
Contributor

GitHub Issue (If applicable): closes #

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@ramezgerges ramezgerges force-pushed the visualstate_rollback_subsproperty branch from fc7112f to 6e3c7e5 Compare May 14, 2024 00:10
@ramezgerges
Copy link
Contributor Author

cc. @kazo0, this should fix the Toolkit visual states regression.

@ramezgerges ramezgerges changed the title [DRAFT] fix(visualstates): fix rolling back properties when the "next state" doesn't modify a property, but modifies one of its subproperties [DRAFT] fix(visualstates): fix rolling back properties when the next state doesn't modify a property, but modifies one of its subproperties May 14, 2024
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16714/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16714/index.html

@jeromelaban jeromelaban marked this pull request as draft May 14, 2024 11:43
@ramezgerges ramezgerges force-pushed the visualstate_rollback_subsproperty branch from 6e3c7e5 to 2b4b9ff Compare May 15, 2024 08:10
@ramezgerges ramezgerges marked this pull request as ready for review May 15, 2024 08:10
@ramezgerges ramezgerges changed the title [DRAFT] fix(visualstates): fix rolling back properties when the next state doesn't modify a property, but modifies one of its subproperties fix(visualstates): fix rolling back properties when the next state doesn't modify a property, but modifies one of its subproperties May 15, 2024
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16714/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16714/index.html

@ramezgerges ramezgerges force-pushed the visualstate_rollback_subsproperty branch from 2d75e71 to 453d455 Compare May 15, 2024 14:39
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16714/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16714/index.html

@kazo0
Copy link
Contributor

kazo0 commented May 16, 2024

fyi @ramezgerges, this original fix seemed to have fixed #14262

So rolling it back might unfix it, maybe?

@eriklimakc maybe check from this branch if the issue happens again

@ramezgerges
Copy link
Contributor Author

@kazo0 It shouldn't. The title is a bit misleading :). This PR doesn't "roll back" the previous fix, but it fixes a certain scenario where some properties set by animations should not be rolled back (they get rolled back after the other PR when they shouldn't). So it does indeed move some cases to the old behaviour, but it's very unlikely that that was what fixed #14262.

@eriklimakc
Copy link
Contributor

It works fine with the changes from this PR :)

@ramezgerges ramezgerges merged commit 9be0f64 into unoplatform:master May 17, 2024
103 checks passed
@ramezgerges ramezgerges deleted the visualstate_rollback_subsproperty branch May 17, 2024 14:14
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.

None yet

5 participants