Open Bobgy opened 5 years ago
Same for me
Same for me
Same for me
same here
hey guys, how about trying this https://github.com/tuateam/tua-body-scroll-lock
@Bobgy it works. But I think this is a bug of Android webview, maybe there is a bug report of that project?
Same problem, doesn't work in webview
I had this same problem developing a webview with Angular. I needed to create a list of cards in a horizontal scroll and for some reason it wasn't working.
Strangely this line of code solved my problem, even though it did "nothing".
ngAfterViewInit(){ fromEvent(this.scrollElement, 'touchend').pipe(takeUntil(this.unsubscribe$)).subscribe(); }
I've tried this and it works on almost everywhere except Android webview.
I don't quite understand why it could be different between chrome 70 in browser vs chrome 70 in webview, but I am seeing this issue.
Current Behavior in Android webview: when you scroll the scrollable overlay to one end, then it starts to scroll body instead. Expected Behavior in Android webview: when you scroll the scrollable overlay to one end, then it stops there without doing anything else.
Note that in Android Chrome, it behaves as expected.