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

TimeZoom's _ScrollPositionWithSingleContext doesn't support pointerScroll #115

Closed
abel-123 opened this issue Feb 25, 2022 · 1 comment
Closed
Labels
T: Fix Type: :bug: Bug Fixes

Comments

@abel-123
Copy link

Describe the bug
When trying to scroll with the mouse wheel on desktop (flutter web), timetable does not scroll and throws an error.

======== Exception caught by gesture library===============
The following UnsupportedError was thrown while resolving a PointerSignalEvent:
Unsupported operation: TimeZoom's _ScrollPositionWithSingleContext doesn't support pointerScroll.
When the exception was thrown, this was the stack:
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/internal/js_dev_runtime/private/ddc_runtime/errors.dart 251:49 throw
packages/timetable/src/time/zoom.dart 809:5 pointerScroll
packages/flutter/src/widgets/scrollable.dart 717:16 [_handlePointerScroll]
packages/flutter/src/gestures/pointer_signal_resolver.dart 88:7 resolve
packages/flutter/src/gestures/binding.dart 445:29 handleEvent
packages/flutter/src/gestures/binding.dart 419:14 dispatchEvent
packages/flutter/src/rendering/binding.dart 322:11 dispatchEvent
packages/flutter/src/gestures/binding.dart 374:7 [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 338:5 handlePointerEvent
packages/flutter/src/gestures/binding.dart 296:7 [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 279:32 [_handlePointerDataPacket]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 1020:13 invoke1
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/platform_dispatcher.dart 184:5 invokeOnPointerDataPacket
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 130:39 [_onPointerData]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 310:14 [_handleWheelEvent]
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 574:7
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/pointer_binding.dart 290:87
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 334:14 _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 339:39 dcall
Event: _TransformedPointerScrollEvent#9dbd4(position: Offset(827.0, 649.0), scrollDelta: Offset(-0.0, 100.0))
position: Offset(827.0, 649.0)
scrollDelta: Offset(-0.0, 100.0)
============================================================

Environment:

  • OS version: Windows 11
  • Flutter version: e.g. 2.8.1
  • Package version: 1.0.0-alpha.6
@abel-123 abel-123 added the T: Fix Type: :bug: Bug Fixes label Feb 25, 2022
@JonasWanke
Copy link
Owner

Fixed and published as part of v1.0.0-alpha.7 (1a286f2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Fix Type: :bug: Bug Fixes
Projects
None yet
Development

No branches or pull requests

2 participants