-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[two_dimensional_scrollables] Fix TreeView bug when animation duration is zero #7475
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
[two_dimensional_scrollables] Fix TreeView bug when animation duration is zero #7475
Conversation
packages/two_dimensional_scrollables/test/tree_view/tree_test.dart
Outdated
Show resolved
Hide resolved
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.
We should have an issue specific to this. Can you check https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22p%3A+two_dimensional_scrollables%22 and see if one exists? The other issue is for the 1D version in the framework.
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.
LGTM, thank you for the contribution!
packages/two_dimensional_scrollables/lib/src/tree_view/tree.dart
Outdated
Show resolved
Hide resolved
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.
LGTM! Thanks for the contribution:)
flutter/packages@4c18648...91caa7a 2024-09-11 [email protected] [two_dimensional_scrollables] Fix TreeView bug when animation duration is zero (flutter/packages#7475) 2024-09-11 [email protected] [google_maps_flutter_platform_interface] Fix typo in CameraUpdateNewLatLngBounds.toJson (flutter/packages#7626) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Fixes #153889 an issue where nodes were being removed incorrectly when using
AnimationStyle.noAnimation
or the animation duration was zero seconds, which previously caused the erratic behavior due to hidden state updates. Similar to flutter/flutter#153890.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.