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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
editorState.service.keyboardService?.enable();
|
||||||
|
editorState.service.scrollService?.enable();
|
||||||
|
|
||||||
panEndOffset = details.globalPosition;
|
panEndOffset = details.globalPosition;
|
||||||
final dy = editorState.service.scrollService?.dy;
|
final dy = editorState.service.scrollService?.dy;
|
||||||
var panStartOffsetWithScrollDyGap = panStartOffset!;
|
var panStartOffsetWithScrollDyGap = panStartOffset!;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user