mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: the editor loses focus occasionally
This commit is contained in:
parent
e9d8dc9657
commit
b7cb4b647d
@ -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 New Issue
Block a user