mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +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…
Reference in New Issue
Block a user