mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-11-04 12:03:28 +00:00
fix: unable to use slide gesture to close keyboard (#4391)
This commit is contained in:
parent
6d3a7545a6
commit
c8e9adb81d
@ -8,8 +8,9 @@ typedef KeyboardHeightCallback = void Function(double height);
|
|||||||
class KeyboardHeightObserver {
|
class KeyboardHeightObserver {
|
||||||
KeyboardHeightObserver._() {
|
KeyboardHeightObserver._() {
|
||||||
_keyboardHeightPlugin.onKeyboardHeightChanged((height) {
|
_keyboardHeightPlugin.onKeyboardHeightChanged((height) {
|
||||||
currentKeyboardHeight = height;
|
|
||||||
notify(height);
|
notify(height);
|
||||||
|
|
||||||
|
currentKeyboardHeight = height;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user