Skip to content

Fix Exception in AnimationController if disposed whilst actively animating#48

Open
dankhan-helmet wants to merge 12 commits intosrtraj:masterfrom
ZeroPoint-Ventures:master
Open

Fix Exception in AnimationController if disposed whilst actively animating#48
dankhan-helmet wants to merge 12 commits intosrtraj:masterfrom
ZeroPoint-Ventures:master

Conversation

@dankhan-helmet
Copy link

  • When disposing of the dropdown, base code explicitly doesn't dispose of the underlying AnimationController
  • If the AnimationController is currently animating when disposed, a ticker will still be active which raises an exception
  • Fix to stop any current animations and dispose of the AnimationController when the dropdown is disposed

dankhan-helmet and others added 12 commits February 8, 2024 17:29
- When disposing of the dropdown, base code explicitly doesn't dispose of the underlying AnimationController
- If the AnimationController is currently animating when disposed, a ticker will still be active which raises an exception
- Fix to stop any current animations and dispose of the AnimationController when the dropdown is disposed
- Support theme upgrade in flutter 3.22
Merge straj/dropdown_textfield 1.1.0 updates
Revert to work with flutter < v3.21
Fix up render bug for overlayKey.currentContext not defined
Update to support flutter v3.22+
Update to support flutter v3.22+
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.

1 participant