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

[Bug] Mobile unable to click to invoke action #4709

Closed
q200892907 opened this issue Feb 23, 2024 · 0 comments · Fixed by #4733
Closed

[Bug] Mobile unable to click to invoke action #4709

q200892907 opened this issue Feb 23, 2024 · 0 comments · Fixed by #4733

Comments

@q200892907
Copy link
Contributor

q200892907 commented Feb 23, 2024

Bug Description

[+1539 ms] E/flutter (20438): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): 0
[ ] E/flutter (20438): #0 int.clamp (dart:core-patch/integers.dart:307:7)
[ ] E/flutter (20438): #1 _MobileSelectionServiceWidgetState._getNodeInOffset (package:appflowy_editor/src/editor/editor_component/service/selection/mobile_selection_service.dart:650:15)
[ ] E/flutter (20438): #2 _MobileSelectionServiceWidgetState.getNodeInOffset (package:appflowy_editor/src/editor/editor_component/service/selection/mobile_selection_service.dart:331:12)
[ ] E/flutter (20438): #3 _MobileSelectionServiceWidgetState.getPositionInOffset (package:appflowy_editor/src/editor/editor_component/service/selection/mobile_selection_service.dart:365:18)
[ ] E/flutter (20438): #4 _MobileSelectionServiceWidgetState._onTapUp (package:appflowy_editor/src/editor/editor_component/service/selection/mobile_selection_service.dart:421:22)
[ ] E/flutter (20438): #5 MobileSelectionGestureDetectorState._tapDownDelegate (package:appflowy_editor/src/service/selection/mobile_selection_gesture.dart:119:24)
[ ] E/flutter (20438): #6 TapGestureRecognizer.handleTapUp. (package:flutter/src/gestures/tap.dart:649:57)
[ ] E/flutter (20438): #7 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:315:24)
[ ] E/flutter (20438): #8 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:649:11)
[ ] E/flutter (20438): #9 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:309:5)
[ ] E/flutter (20438): #10 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:279:7)
[ ] E/flutter (20438): #11 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:167:27)
[ ] E/flutter (20438): #12 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:499:20)
[ ] E/flutter (20438): #13 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:475:22)
[ ] E/flutter (20438): #14 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:430:11)
[ ] E/flutter (20438): #15 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:420:7)
[ ] E/flutter (20438): #16 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:383:5)
[ ] E/flutter (20438): #17 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:330:7)
[ ] E/flutter (20438): #18 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:299:9)
[ ] E/flutter (20438): #19 _invoke1 (dart:ui/hooks.dart:328:13)
[ ] E/flutter (20438): #20 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:429:7)
[ ] E/flutter (20438): #21 _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)
[ ] E/flutter (20438):

How to Reproduce

Add many checkboxes in toggle
toggle Clicking the screen after the first line appears cannot select the clicked line

Expected Behavior

It can be selected normally and no error will be reported.

Operating System

mobile

AppFlowy Version(s)

main

Screenshots

No response

Additional Context

No response

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 a pull request may close this issue.

1 participant