mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-05 22:48:27 +00:00
fix: the editor loses focus occasionally
This commit is contained in:
parent
e9d8dc9657
commit
b7cb4b647d
1 changed files with 3 additions and 0 deletions
|
|
@ -306,6 +306,9 @@ class _FlowySelectionState extends State<FlowySelection>
|
|||
return;
|
||||
}
|
||||
|
||||
editorState.service.keyboardService?.enable();
|
||||
editorState.service.scrollService?.enable();
|
||||
|
||||
panEndOffset = details.globalPosition;
|
||||
final dy = editorState.service.scrollService?.dy;
|
||||
var panStartOffsetWithScrollDyGap = panStartOffset!;
|
||||
|
|
|
|||
Loading…
Reference in a new issue