Browse Source

fix keyboardHeight

lucky1213 4 years ago
parent
commit
c2eb019864
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      packages/zefyr/lib/src/widgets/toolbar.dart

+ 1
- 1
packages/zefyr/lib/src/widgets/toolbar.dart View File

387
     } else {
387
     } else {
388
       layers.add(
388
       layers.add(
389
         Container(
389
         Container(
390
-          height: MediaQuery.of(context).viewInsets.bottom,
390
+          height: editor.toolbarAction == null ? 0 : keyboardHeight ?? 300,
391
         ),
391
         ),
392
       );
392
       );
393
     }
393
     }