Skip to content

Commit c8e9adb

Browse files
authored
fix: unable to use slide gesture to close keyboard (#4391)
1 parent 6d3a754 commit c8e9adb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/keyboard_height_observer.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ typedef KeyboardHeightCallback = void Function(double height);
88
class KeyboardHeightObserver {
99
KeyboardHeightObserver._() {
1010
_keyboardHeightPlugin.onKeyboardHeightChanged((height) {
11-
currentKeyboardHeight = height;
1211
notify(height);
12+
13+
currentKeyboardHeight = height;
1314
});
1415
}
1516

0 commit comments

Comments
 (0)