prevent pull-to-refresh behavior in mobile Chrome
-
I get unwanted pull-to-refresh behavior in mobile Chrome. Should Quasar not maybe provide settings for this? Like:
https://jsbin.com/niyukadizu/1/edit?html,js,output -
There’s the
disable
prop if you want to disable it. Is this what you were looking for? -
I think you might be referring to the implementation of pull-to-refresh component in Quasar, whereas I am referring to the default Chrome behavior to start refreshing when you pull down on a touchscreen.
-
@MusicForMellons What do you mean by “default” behavior for Chrome? Are you referring to an Android app? Please be more concise as I don’t get what is the issue
Describe current behavior and what it is expected. Thanks!
-
Well, I am using Ngrok to watch the webapp I am developing on my Android phone in Chrome and then I get pull-to-refresh behavior on every page. I would like to switch that off (obviously not in my browser but via my apps’ js code).
-
If i understand you correctly, you want to disable the drag to refresh on the browser it self, on the current app you are building. I`m not sure you can actually do that native and fluently. There are a few things you could try:
https://docs.google.com/document/d/12Ay4s3NWake8Qd6xQeGiYimGJ_gCe0UMDZKwP9Ni4m8/edit
This is a good document explaining it a bit better. -
Did you find any solution @MusicForMellons ?
-
+1, was there a solution to this? Thanks
-
The following will prevents the refresh
html,
body {
overscroll-behavior-y: contain;
}