forked from firka/flutter
cb8854c7d6b43382f152d6cfaf599ef87f523c5a
Currently during the keyboard animation, the navigation bar insets are subtracted from the keyboard insets. This is correct when the app isn't laid out behind the navigation bar, but results in incorrect viewInsets when the app's running in edge-to-edge or fullscreen. This change checks if the app is being laid out behind the navigation bar and adjusts the bottom insets accordingly during the keyboard animation. Fixes https://github.com/flutter/flutter/issues/89914 Tested on Android 13 (Pixel 7) using the code sample here: https://github.com/flutter/flutter/issues/109623 ### Before https://user-images.githubusercontent.com/20386860/216786596-24c764b1-a71c-42cf-97a2-3ba10b717819.mp4 ### After https://user-images.githubusercontent.com/20386860/216786591-155ec6a6-b3c5-41e0-a45f-169861077ce2.mp4
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%