-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add native pull to refresh #395
Comments
Waiting for this feature. Thanks in advance. |
Hi. Is there a workaround? I can see the InAppWebView triggers the overscroll glow, but adding it as a child to a RefreshIndicator does not detect the overscroll condition. |
Hi, Has anyone managed to solve this problem in any other way? |
This makes me headache. Is there anybody found any solutions or trick for this? I've been searching for this over the internet, yet I couldn't find any solutions. I've also posted a question in stackoverflow: https://stackoverflow.com/questions/63376374/pull-to-refresh-webview-in-flutter, but no response. |
Hey, its actually pretty simple if you use the pull_to_refresh package. All you have to do is look at the bottom of their demo code and replace the listview builder with your inappwebview scaffold.
and dont forget to add your webView.reload(); for the pull. Package @ https://pub.dev/packages/pull_to_refresh |
#EDIT gestureRecognizers: <Factory>[ this resolved the issue, and if it wasnt this then its due to using Expanded children. |
Actually this is the probably the correct answer in your case ->
|
Hi, Is there a confirmed solution for pulldown to refresh that does not interfere with the scrolling of the wbview? |
I'm working on it! In the next release (probably today), I will add a native pull-to-refresh feature |
@pichillilorenzo ,I had also try this with help of some other plugin, but then scrolling issue comes into it. Please consider the same, no scrolling issue happens. |
As said, it will be implemented natively and not using any flutter plugin. |
After some work, on Android, it seems it is working perfectly, but on iOS, using the |
Ok, great. @pichillilorenzo So, will you make it available for Android(we will able to test it) and later on for iOS. |
Pull to refresh feature added in the new release An example can be found in the |
I have just found a bug that, if you are not using Hybrid Composition on Android, the keyboard won't show up when you focus a text field inside the WebView. |
@pichillilorenzo Make test or assertion for this. |
Added an if statement that checks if Hybrid Composition is enabled when |
Is there a way to custom style PullToRefreshController, I would like to use CupertinoActivityIndicator() style, so basically just smaller indicator like it is now ? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
I am trying several method to add pull to refresh feature, it finally works but have awkward gesture, or terrible performance. If only I can hook into native overscroll event then it will be great.
The text was updated successfully, but these errors were encountered: