Sfoglia il codice sorgente

fix keyboardHeight

lucky1213 4 anni fa
parent
commit
2c27706af8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      packages/zefyr/lib/src/widgets/toolbar.dart

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

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