-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Dragging Down Triggers Page Refresh #46
Comments
@dionsthilaire Thank you for issue. |
@dionsthilaire Are you able to reproduce with other android device ? |
I haven’t tried in an emulator and only have this one device. The recording I sent was of a remote debugging session on that physical device. |
@dionsthilaire Device: Pixel 3XL Moreover, i did try all examples from README.md and all are works. I do recommend for you check all examples listed in readme and try buttons, check if some specific pane function give exception in combination of your phone settings/chrome/functions or just drag gesture. Also try different browser and update chrome OS to latest. |
Actually, the stack blitz editor frame is preventing the refresh. Please try viewing the page url directly without the editor. |
Seems that somethings with stackblitz.
|
@dionsthilaire a) Fix with css body {
overscroll-behavior-y: none;
} b) Set Note: for mobile frameworks such as ionic issue fixed out of the box. |
Yes, I do agree it works with Ionic and not with Angular. Note: There is nothing special about the content, just basic input and enough content to trigger overflow behavior. Attached is the source for a vanilla Angular CLI application without Material
To simplify this i've also zipped up the solution (without node modules)
To remove stack-blitz from the equation I created a host for the application in Azure: https://cupertinodemo.z13.web.core.windows.net/ Same issue. |
yes, actually this is what we used as a work-around to fix the issue. Just thought you would like to know that this bug existed :) Ionic is an awesome framework, but so is Angular, also very popular 👍 |
Describe the bug
Building an Angular application and testing on an Android phone, dragging down on the pane causes the page to refresh.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dragging down on the pane should not refresh the page
Smartphone (please complete the following information):
Additional context
Angular 9 + Material as provided in this editable stackblitz
https://stackblitz.com/edit/angular-qxxvuj
The text was updated successfully, but these errors were encountered: