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] Quick drag selection area issue #340

Closed
q200892907 opened this issue Jul 25, 2023 · 1 comment
Closed

[Bug] Quick drag selection area issue #340

q200892907 opened this issue Jul 25, 2023 · 1 comment

Comments

@q200892907
Copy link
Contributor

Bug Description

Quickly dragging the selection area may cause formatting errors

How to Reproduce

Quick drag selection

Expected Behavior

Only selecting does not cause formatting issues

Operating System

desktop

AppFlowy Editor Version(s)

master

Screenshots

image

Additional Context

The following assertion was thrown during a scheduler callback:
'package:appflowy_editor/src/editor/editor_component/service/selection/desktop_selection_service.dart': Failed assertion: line 487 pos 14: 'false': is not true.

When the exception was thrown, this was the stack:
#2 _DesktopSelectionServiceWidgetState._updateCursorAreas (package:appflowy_editor/src/editor/editor_component/service/selection/desktop_selection_service.dart:487:14)
#3 _DesktopSelectionServiceWidgetState._updateSelection.updateSelection (package:appflowy_editor/src/editor/editor_component/service/selection/desktop_selection_service.dart:152:11)
#4 _DesktopSelectionServiceWidgetState._updateSelection. (package:appflowy_editor/src/editor/editor_component/service/selection/desktop_selection_service.dart:165:9)
#5 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1284:15)
#6 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1223:9)
#7 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1072:5)
#8 _invoke (dart:ui/hooks.dart:142:13)
#9 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:359:5)
#10 _drawFrame (dart:ui/hooks.dart:112:31)
(elided 2 frames from class _AssertionError)

@q200892907
Copy link
Contributor Author

2023-07-26.13.35.32.mov

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

No branches or pull requests

1 participant