You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Animation controller.reverse() is called even when the Scrollbar Widget is removed from the tree which produces the error below.
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] UnhandledException:'package:flutter/src/animation/animation_controller.dart':Failed assertion: line 487 pos 7:'_ticker != null':AnimationController.reverse() called after AnimationController.dispose()
AnimationController methods should not be used after calling dispose.
#0_AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1_AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2AnimationController.reverse (package:flutter/src/animation/animation_controller.dart:487:7)
#3_ScrollbarState.handleHover (package:fluent_ui/src/controls/utils/scrollbar.dart:167:30)
<asynchronous suspension>
To Reproduce
Steps to reproduce the behavior:
Create a conditional widget that removes Scrollbar and it's descendants from widget tree.
Hover on scrollbar
Trigger condition to remove Scrollbar widget from tree.
See error
Additional context
It only produces the error if the scrollbar is hovered.
The text was updated successfully, but these errors were encountered:
Describe the bug
Animation controller.reverse() is called even when the Scrollbar Widget is removed from the tree which produces the error below.
To Reproduce
Steps to reproduce the behavior:
Additional context
It only produces the error if the scrollbar is hovered.
The text was updated successfully, but these errors were encountered: