perf: resize is too slow when ion-content size changes for scrolling
Type: perf
Platform: ios 7 webview
When I add more content to ion-content it takes too long to resize and when I scroll it bounces back before reaching the end of the content.
Yep I see this too, looking for workaround. Tried
$scope.$broadcast('scroll.resize');
(when switching on content via a toogle in my case) to no avail. Tried ng-if and ng-show for the content switching, same thing either way.
Greetings @mikey0000!
My sensors indicate that I require more information in order to assist you.
- Can you provide a detailed description of this issue?
- How would a robot go about replicating this issue?
- On which platform does this happen occur? (iOS, Android, all, etc.)
- On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
- Is this an issue with the Ionic Framework or Ionic CLI?
Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.
Was there ever an update/fix for this? I'm having the same issue with scrolling when using ng-show in an ion-content. Here's a basic plunker showing the general idea: http://plnkr.co/edit/xIEVmffOuZPkjlWdjS5k?p=preview
Possible workaround is to call $ionicScrollDelegate.resize() whenever you show/hide.
cnd5041
http://neworleansconstructioncompany.net/betonmarkets-front
25.03.2015, 04:04, "cnd5041" [email protected]:Was there ever an update/fix for this? I'm having the same issue with scrolling when using ng-show in an ion-content. Here's a basic plunker showing the general idea:
—Reply to this email directly or .
I am having the same problem. Does the work around work?
The $ionicScrollDelegate.resize() did work well for me. Never went back to look for better alternatives.
Awesome thanks! Maybe we need an ion-show and ion-hide directive that would automatically call the $ionicScrollDelegate.resize. But for now I can fix on my own, thanks!
On Tue, Apr 28, 2015 at 2:31 PM, cnd5041 [email protected] wrote:
The $ionicScrollDelegate.resize() did work well for me. Never went back to look for better alternatives.
— Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/2940#issuecomment-97199125.