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
This is an awesome package, I really appreciate it.
There is an issue with the modal scrolling though, it keeps throwing an error in the background. It doesn't stop application from working but certainly doesn't feel okay. I'm using the latest flutter with the example from the repository.
I recorded a video on what's going on and how to reproduce it:
Awesome-select-scrolling.mov
Sorry, I have no idea about the problem, couldn't be much help but here is the stack trace. It keeps throwing the same errors as I scroll:
Performing hot restart...
Waiting for connection from debug service on Chrome...
Restarted application in 322ms.
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 756:5 [_startSimulation]
packages/flutter/src/animation/animation_controller.dart 619:12 [_animateToInternal]
packages/flutter/src/animation/animation_controller.dart 467:12 forward
packages/flutter/src/widgets/scrollbar.dart 1863:37 [_handleScrollNotification]
packages/flutter/src/widgets/notification_listener.dart 130:22 onNotification
packages/flutter/src/widgets/framework.dart 3094:18 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 4441:24 dispatchNotification
packages/flutter/src/widgets/notification_listener.dart 60:13 dispatch
packages/flutter/src/widgets/scroll_activity.dart 92:90 dispatchScrollUpdateNotification
packages/flutter/src/widgets/scroll_position.dart 914:5 didUpdateScrollPositionBy
packages/flutter/src/widgets/scroll_position_with_single_context.dart 223:7 pointerScroll
packages/flutter/src/widgets/scrollable.dart 742:16 [_handlePointerScroll]
packages/flutter/src/gestures/pointer_signal_resolver.dart 90:7 resolve
packages/flutter/src/gestures/binding.dart 466:29 handleEvent
packages/flutter/src/gestures/binding.dart 440:14 dispatchEvent
packages/flutter/src/rendering/binding.dart 337:11 dispatchEvent
packages/flutter/src/gestures/binding.dart 395:7 [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 357:5 handlePointerEvent
packages/flutter/src/gestures/binding.dart 314:7 [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 295:7 [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1183:13 invoke1
lib/_engine/engine/platform_dispatcher.dart 244:5 invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 147:39 [_onPointerData]
lib/_engine/engine/pointer_binding.dart 372:14 [_handleWheelEvent]
lib/_engine/engine/pointer_binding.dart 672:7 <fn>
lib/_engine/engine/pointer_binding.dart 362:43 <fn>
lib/_engine/engine/pointer_binding.dart 203:80 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The AnimationController notifying status listeners was: AnimationController#6245a(▶ 0.000)
====================================================================================================
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 838:5 [_tick]
packages/flutter/src/scheduler/ticker.dart 249:12 [_tick]
packages/flutter/src/scheduler/binding.dart 1175:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1079:11 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:13 forEach
packages/flutter/src/scheduler/binding.dart 1077:16 handleBeginFrame
packages/flutter/src/scheduler/binding.dart 994:5 [_handleBeginFrame]
lib/_engine/engine/platform_dispatcher.dart 1183:13 invoke1
lib/_engine/engine/platform_dispatcher.dart 198:5 invokeOnBeginFrame
lib/_engine/engine/initialization.dart 186:45 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The AnimationController notifying status listeners was: AnimationController#6245a(⏭ 1.000; paused)
====================================================================================================
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 756:5 [_startSimulation]
packages/flutter/src/animation/animation_controller.dart 619:12 [_animateToInternal]
packages/flutter/src/animation/animation_controller.dart 501:12 reverse
packages/flutter/src/widgets/scrollbar.dart 1663:37 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19 internalCallback
The AnimationController notifying status listeners was: AnimationController#6245a(◀ 1.000)
====================================================================================================
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 756:5 [_startSimulation]
packages/flutter/src/animation/animation_controller.dart 619:12 [_animateToInternal]
packages/flutter/src/animation/animation_controller.dart 467:12 forward
packages/flutter/src/widgets/scrollbar.dart 1863:37 [_handleScrollNotification]
packages/flutter/src/widgets/notification_listener.dart 130:22 onNotification
packages/flutter/src/widgets/framework.dart 3094:18 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 3097:13 dispatchNotification
packages/flutter/src/widgets/framework.dart 4441:24 dispatchNotification
packages/flutter/src/widgets/notification_listener.dart 60:13 dispatch
packages/flutter/src/widgets/scroll_activity.dart 92:90 dispatchScrollUpdateNotification
packages/flutter/src/widgets/scroll_position.dart 914:5 didUpdateScrollPositionBy
packages/flutter/src/widgets/scroll_position_with_single_context.dart 223:7 pointerScroll
packages/flutter/src/widgets/scrollable.dart 742:16 [_handlePointerScroll]
packages/flutter/src/gestures/pointer_signal_resolver.dart 90:7 resolve
packages/flutter/src/gestures/binding.dart 466:29 handleEvent
packages/flutter/src/gestures/binding.dart 440:14 dispatchEvent
packages/flutter/src/rendering/binding.dart 337:11 dispatchEvent
packages/flutter/src/gestures/binding.dart 395:7 [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 357:5 handlePointerEvent
packages/flutter/src/gestures/binding.dart 314:7 [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 295:7 [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1183:13 invoke1
lib/_engine/engine/platform_dispatcher.dart 244:5 invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 147:39 [_onPointerData]
lib/_engine/engine/pointer_binding.dart 372:14 [_handleWheelEvent]
lib/_engine/engine/pointer_binding.dart 672:7 <fn>
lib/_engine/engine/pointer_binding.dart 362:43 <fn>
lib/_engine/engine/pointer_binding.dart 203:80 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The AnimationController notifying status listeners was: AnimationController#6245a(▶ 0.000)
====================================================================================================
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 838:5 [_tick]
packages/flutter/src/scheduler/ticker.dart 249:12 [_tick]
packages/flutter/src/scheduler/binding.dart 1175:15 [_invokeFrameCallback]
packages/flutter/src/scheduler/binding.dart 1079:11 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:13 forEach
packages/flutter/src/scheduler/binding.dart 1077:16 handleBeginFrame
packages/flutter/src/scheduler/binding.dart 994:5 [_handleBeginFrame]
lib/_engine/engine/platform_dispatcher.dart 1183:13 invoke1
lib/_engine/engine/platform_dispatcher.dart 198:5 invokeOnBeginFrame
lib/_engine/engine/initialization.dart 186:45 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
The AnimationController notifying status listeners was: AnimationController#6245a(⏭ 1.000; paused)
====================================================================================================
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
The Scrollbar's ScrollController has no ScrollPosition attached.
A Scrollbar cannot be painted without a ScrollPosition.
The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget.
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49 throw_
packages/flutter/src/widgets/scrollbar.dart 1503:9 <fn>
packages/flutter/src/widgets/scrollbar.dart 1527:14 [_debugCheckHasValidScrollPosition]
packages/flutter/src/widgets/scrollbar.dart 1470:14 [_validateInteractions]
packages/flutter/src/animation/listener_helpers.dart 240:19 notifyStatusListeners
packages/flutter/src/animation/animation_controller.dart 822:7 [_checkStatusChanged]
packages/flutter/src/animation/animation_controller.dart 756:5 [_startSimulation]
packages/flutter/src/animation/animation_controller.dart 619:12 [_animateToInternal]
packages/flutter/src/animation/animation_controller.dart 501:12 reverse
packages/flutter/src/widgets/scrollbar.dart 1663:37 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/isolate_helper.dart 48:19 internalCallback
The AnimationController notifying status listeners was: AnimationController#6245a(◀ 1.000)
====================================================================================================
The text was updated successfully, but these errors were encountered:
This is an awesome package, I really appreciate it.
There is an issue with the modal scrolling though, it keeps throwing an error in the background. It doesn't stop application from working but certainly doesn't feel okay. I'm using the latest flutter with the example from the repository.
I recorded a video on what's going on and how to reproduce it:
Awesome-select-scrolling.mov
Sorry, I have no idea about the problem, couldn't be much help but here is the stack trace. It keeps throwing the same errors as I scroll:
The text was updated successfully, but these errors were encountered: