sailfishos / sailfish-components-webview

Mozilla Public License 2.0
13 stars 23 forks source link

[components-webview] Adjust keyboard margin based on position. JB#57689 #156

Closed llewelld closed 2 years ago

llewelld commented 2 years ago

If the ypos and height of the WebView don't reach the base of the page, then the keyboard height must be compensated to adjust.

This is especially important in case a widget changes height when the keyboard opens, to avoid the margin being added twice.