Thanks for the suggestion. I already have the viewport meta tag set, but unfortunately it doesn't provide the Android WindowInsets or the actual status/navigation bar inset values.
The issue specifically occurs with gesture navigation, where the WebView content can extend into the system gesture area. I'm looking for a way in DroidScript to get the top/bottom safe-area insets in pixels, or another recommended way to prevent WebView content from being covered.
I’m not using cfg.EdgeToEdge. I don’t experience any issues on phones, but on the Samsung Galaxy Tab A7, when the app is used in landscape mode, the system navigation bar can overlap some of the buttons in the app. This issue does not occur in portrait mode.