-
Notifications
You must be signed in to change notification settings - Fork 210
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
fix:Solve the left and right key bug. #584
fix:Solve the left and right key bug. #584
Conversation
… head or tail of the editor, it cannot be moved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC @LucasXu0
@@ -52,8 +51,7 @@ class KeyboardServiceWidgetState extends State<KeyboardServiceWidget> | |||
return true; | |||
}, | |||
); | |||
editorState.service.selectionService | |||
.registerGestureInterceptor(interceptor); | |||
editorState.service.selectionService.registerGestureInterceptor(interceptor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like your formatting options are different than default 80 character line length.
@q200892907 The format step failed. PTAL. |
Restored default format |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #584 +/- ##
==========================================
- Coverage 80.54% 80.51% -0.04%
==========================================
Files 286 286
Lines 12182 12232 +50
==========================================
+ Hits 9812 9848 +36
- Misses 2370 2384 +14 ☔ View full report in Codecov by Sentry. |
* main: fix: solve the left and right key bug. (AppFlowy-IO#584) feat: toggle format on mobile (AppFlowy-IO#587) feat: support toggling format style when the selection is collapsed (AppFlowy-IO#586) chore: release 2.0.0-beta.1 (AppFlowy-IO#582) feat: support Flutter stable channel (AppFlowy-IO#581) # Conflicts: # lib/src/editor/editor_component/service/ime/non_delta_input_service.dart
Solve the left and right key bug. When adding an input box at the head or tail of the editor, it cannot be moved.