Open 01cb7913 opened 3 years ago
Thanks for the issue. The problem here is that WebKit is latching on to an element underneath ion-content
which is resulting in that element scrolling, but not ion-content
. This seems to be specific to home screen apps on iOS, so I will look into reporting this bug to the WebKit team.
edit: Issue filed https://bugs.webkit.org/show_bug.cgi?id=222654
Can confirm this here as well. I believe it's latching to the
element itself.Hello everyone, please tell me, has anyone found a solution to the problem?
Any updates here? This bug still exists.
No updates right now.
This is an issue in iOS, not Ionic. As a result, Apple will need to provide a fix for this. See here for any updates: https://bugs.webkit.org/show_bug.cgi?id=222654
@MichaelMagomedov I use BodyScrollLock to prevent overscroll on IonContent: https://github.com/willmcpo/body-scroll-lock
@lincolnthree hey buddy, how did u use that library to avoid this issue? Care to provide an example or some instructions?
I would like to know as well. This bug in webkit is driving me nuts.
Adding a simple:
html, body {position: fixed;}
to global.scss seems to reduce the issue. At the very least it removes the awkward bounce effect which is extra confusing for the user. This does not completely fix the problem though, it's still a major issue facing any full-screen PWA usage on iOS.
Bug Report
Ionic version:
[ ] 4.x [x] 5.x
Current behavior: Scroll no longer works normally after opening the keyboard on IOS/PWA only
Expected behavior: Scroll should work the same as before opening the keyboard
Steps to reproduce: Open/close keyboard touch header and start scrolling.
Related code:
Other information:
Ionic info: