-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: non-native refresher breaks scrolling #27601
bug: non-native refresher breaks scrolling #27601
Comments
Thanks for the report! I am able to reproduce this issue. I will take a look at your PR shortly. |
Here is a dev build with a potential fix if you are interested in testing:
|
The dev build works like a charm. Thank you very much @liamdebeasi ! 🙏 |
…er (#27602) Issue number: resolves #27601 --------- ## What is the current behavior? The current behavior restores overflow styles while moving (within the setCSS function). ## What is the new behavior? Overflow styles are restored when refresher gesture ends. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> Honestly, I don't know exactly. From code perspective I would say 'Yes', but I can't get the impact of the change. Ionic Team edit: There are no changes to the public API, and this is fixing a behavior that used to work so there are no breaking changes. ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> --------- Co-authored-by: Liam DeBeasi <[email protected]>
Thanks again for the report and the PR! This fix will be in the next release of Ionic v7. We also plan to backport this to Ionic v6 since it was introduced in that major release. |
…er (#27602) Issue number: resolves #27601 --------- ## What is the current behavior? The current behavior restores overflow styles while moving (within the setCSS function). ## What is the new behavior? Overflow styles are restored when refresher gesture ends. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> Honestly, I don't know exactly. From code perspective I would say 'Yes', but I can't get the impact of the change. Ionic Team edit: There are no changes to the public API, and this is fixing a behavior that used to work so there are no breaking changes. ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> --------- Co-authored-by: Liam DeBeasi <[email protected]>
…er (#27619) resolves #27601 Co-authored-by: Michael Rahn <[email protected]>
This fix was released today as part of the v6.7.5 and v7.0.12 releases. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
When using a non-native refresher, moving the view (refresher) slightly down, back to the top of the view (deltaY <= 0) and down again in one move (one tap and hold) breaks the scrolling of the view. See attached video for a better understanding.
2023-06-06-bug-refresher-breaks-scrolling.mov
Expected Behavior
View scrolling does not break when using the refresher.
Steps to Reproduce
Code Reproduction URL
https://github.com/mrahn24/ionic-bug-examples/tree/bug/refresher-breaks-scrolling
Ionic Info
Ionic:
Ionic CLI : 6.20.1 (/Users/mrahn/.config/yarn/global/node_modules/@ionic/cli)
Ionic Framework : not installed
@angular-devkit/build-angular : 16.0.4
@angular-devkit/schematics : 15.2.8
@angular/cli : 16.0.4
@ionic/angular-toolkit : 9.0.0
Capacitor:
Capacitor CLI : 5.0.4
@capacitor/android : not installed
@capacitor/core : 5.0.4
@capacitor/ios : not installed
Utility:
cordova-res (update available: 0.15.4) : 0.15.1
native-run : 1.7.2
System:
NodeJS : v18.15.0 (/Users/mrahn/.n/bin/node)
npm : 9.5.0
OS : macOS
Additional Information
Bug introduced with #26613
The text was updated successfully, but these errors were encountered: