flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

fix screen freeze bug when keyboard is shown and textfield doesn't move

Open HajimeNakahara opened this issue 3 years ago • 8 comments

this is the pr for fixing screen freeze when keyboard is shown and textfield doesn't move.

HajimeNakahara avatar Mar 04 '22 04:03 HajimeNakahara

@HajimeNakahara sorry, but I didn't understand when it happens. Could you provide a more detailed explanation and an example? Thanks

pichillilorenzo avatar Apr 17 '22 15:04 pichillilorenzo

Very useful, please merge @pichillilorenzo

biner88 avatar Feb 08 '23 10:02 biner88

@pichillilorenzo Step to reproduce:

-> Click on a textfield inside webview‬ -> keyboard will be show up -> Click on another textfield -> Try to scroll bottom of page -> Can't scroll to bottom of page because total height of page is wrong now.

Very useful, please merge!

kidwar avatar May 31 '23 03:05 kidwar

@kidwar I am still not able to replicate the issue. If I use https://github.com/login as initial URL example of an InAppWebView, I'm able to switch between username and password text inputs and still scroll the page without any issue. If I test the code of this pull request, when the keyboard shows up, it adds unnecessary scrollable empty space to the end of the webpage. Please, if you can, post a complete code example that can replicate the issue, otherwise I cannot test and find the right solution for the problem, if it is a real problem of the WebView first of all.

pichillilorenzo avatar Jun 12 '23 15:06 pichillilorenzo

@pichillilorenzo can you test with https://websitesandapps.co.uk/form.html as initial URL example

Video demo: flutter_inappwebview: 6.0.0-beta.24

https://github.com/pichillilorenzo/flutter_inappwebview/assets/12774573/3c184129-0b48-4f6b-9bde-db02a1adbca8

kidwar avatar Jun 13 '23 08:06 kidwar

Any updates here?

RMatushkin avatar Sep 25 '23 08:09 RMatushkin

something similar to the issue i have raised 2049?

prateekrk avatar Mar 01 '24 04:03 prateekrk

@RMatushkin @kidwar @biner88 @HajimeNakahara Open your PR on the forked project here and I will merge. There is a new package now. zikzak_inappwebview

arrrrny avatar Sep 20 '24 13:09 arrrrny