Capacitor Version
Capacitor 8.0.0
Other API Details
Platforms Affected
Current Behavior
In version 8.0.0 SystemBars sets too much bottom padding for --safe-area-inset-bottom if the keyboard is visible.
Expected Behavior
Don't use the calculated bottom safe area inset if the keyboard is visible.
No bottom inset is needed (e. g. by the navigation bar) if the keyboard is visible.
Project Reproduction
https://github.com/insel-maz/capacitor-8-safe-area-inset-bottom
Additional Information
To fix this you could possibly add
safeAreaInsets = Insets.of(safeAreaInsets.left, safeAreaInsets.top, safeAreaInsets.right, 0);
to
Capacitor Version
Capacitor 8.0.0
Other API Details
Platforms Affected
Current Behavior
In version 8.0.0 SystemBars sets too much bottom padding for
--safe-area-inset-bottomif the keyboard is visible.Expected Behavior
Don't use the calculated bottom safe area inset if the keyboard is visible.
No bottom inset is needed (e. g. by the navigation bar) if the keyboard is visible.
Project Reproduction
https://github.com/insel-maz/capacitor-8-safe-area-inset-bottom
Additional Information
To fix this you could possibly add
safeAreaInsets = Insets.of(safeAreaInsets.left, safeAreaInsets.top, safeAreaInsets.right, 0);to
capacitor/android/capacitor/src/main/java/com/getcapacitor/plugin/SystemBars.java
Line 167 in 1ef73a3