-
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
ion-datetime Scroll momentum not working on iOS #8096
Comments
Same issue on Android v6.0.1, the scroll is very slow and stutters |
Duplicate-ish - #6613 |
I'm also having this issue. Fast in desktop browser, slow on Android 6.0, HTC One M8. |
Same issue on iOS with RC1. I have pickers in two different parts of my app. One simple form where the picker is completely smooth and a different complex page (lots of DOM manipulation) where the performance problem happens. Not sure if it helps, but in doing a little profiling, the touch move event that fires from the picker seems to be taking about 3x as long to execute between the two cases. The weird thing is this problem doesn't exist if I open my app directly in mobile safari. Not sure exactly what's going on here, but it's definitely making my app completely unusable on iOS. |
Having the same issue on Android 6 LG4 which is a high end phone. Very laggy |
I was able to solve my issues by cutting down on the amount of processing going on during every angular change detection cycle. I was watching several properties from one of my component templates that were doing way more work than they should of. Some simple caching did the trick. On the ionic side, if there's a way to cut down on the change detection during picker touch move events, that make might help mitigate the issue in the first place. |
Improving the performance of picker and ion-datetime is in my roadmap, it will be addressed once all the critical known bugs (mostly navigation bugs) are fixed in ionic. We are close :) There are a lot of room for improvements! |
I came by this performance problem aswell today on Android and made an interesting discovery. For me its only really slow when I add the year to the |
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. |
Short description of the problem:
Momentum scrolling on the
ion-datetime
component does not work on a physical iOS device. It works perfectly in the browser and in the simulator.It stutters and then very slowly stops on a date. If you tap, rather than scroll, then the animation is smooth and transitions to the date you tapped on.
What behavior are you expecting?
When using the
ion-datetime
component, when scrolling to select the dates on a physical iOS device, momentum scrolling should work.Steps to reproduce:
ion-datetime
component to any pageWhich Ionic Version? 1.x or 2.x
Ionic 2 beta 11
The text was updated successfully, but these errors were encountered: