-
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: Uncaught TypeError: Cannot read property 'freeze' #3174
Comments
It appears to happen when I toggle a button I have inside a modal with scroll="false"
I have created a codepen that reproduces the error: http://codepen.io/RangerRick/full/azKozj Steps to reproduce:
All platforms, as far as I can tell. I see it in Chrome as well as the iOS emulator.
Ionic Framework. |
Okay, so we need to check if the user has disabled scrolling first before freezing anything. Thanks for catching that @RangerRick |
Shouldn't we do the same on _startDrag (/~https://github.com/driftyco/ionic/blob/811cc2725a8d87e9fd9c649e708e9145deec769a/js/views/listView.js#L567)? |
This issue also occurs when swiping left for option buttons on the ion-list; And then the buttons do not auto-close anymore; resulting in multiple rows being swiped left due to this bug. Please fix? |
@nantunes and @josdewitte, could you open a new issue pointing to that PR and provide a codepen demo? |
I am not sure if a new issue was open with what @josdewitte reported, but I am having the same issues and I cannot find a workaround... |
@EffEPi could you open a new issue please |
Type: bug
Platform: all
I'm getting this error in my console:
The relevant line is:
self.isScrollFreeze = self.scrollView.freeze(false);
inside_handleEndDrag
.The text was updated successfully, but these errors were encountered: