Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Call setNeedsLayout() in scrollViewDidScroll() #86

Merged
merged 1 commit into from
May 22, 2019
Merged

iOS: Call setNeedsLayout() in scrollViewDidScroll() #86

merged 1 commit into from
May 22, 2019

Conversation

matthewlloyd
Copy link
Contributor

Otherwise, the web view scrolls in blank white space which
doesn't get painted until the scroll gesture is finished,
because the WKWebView hasn't rendered that part of the
viewport to its offscreen buffer.

Otherwise, the web view scrolls in blank white space which
doesn't get painted until the scroll gesture is finished,
because the WKWebView hasn't rendered that part of the
viewport to its offscreen buffer.
@pichillilorenzo pichillilorenzo merged commit e457b9f into pichillilorenzo:master May 22, 2019
@wwwdata
Copy link
Contributor

wwwdata commented Apr 27, 2020

The only problem here is, that this is breaking the bounce overscroll in iOS

@wwwdata
Copy link
Contributor

wwwdata commented Apr 27, 2020

What is the initial reason that the content is not immediately rendered and only when scrolling stops? The official webview plugin also does not need to call setNeedsLayout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants