Skip to content
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

Not working with dynamic data. #26

Open
rajeshwarpatlolla opened this issue Sep 18, 2015 · 2 comments
Open

Not working with dynamic data. #26

rajeshwarpatlolla opened this issue Sep 18, 2015 · 2 comments

Comments

@rajeshwarpatlolla
Copy link

The data is not rendering if it is from an http call. Once you resize the browser window then everything is working fine. In mobile, as we can't resize the window, it's not showing any data. Please have a look at this plunker.

@marcoiacobelli
Copy link

I have the same issue! any ideas on how to fix it?

@Sakpal
Copy link

Sakpal commented Jan 14, 2016

The following error is shown in console:

Delegate for handle "mainScroll" could not find a corresponding element with delegate-handle="mainScroll"! getScrollView() was not called! Possible cause: If you are calling getScrollView() immediately, and your element with delegate-handle="mainScroll" is a child of your controller, then your element may not be compiled yet. Put a $timeout around your call to getScrollView() and try again.

So if you add a temporary <ion-slide> as a child element inside your <ion-slide-box>, then the issue is fixed. Afterwards you can update the slides received from the API call.

Was trying to find the getScrollView() method in our code, but we havent used it in our .js file.
So it might be called from library itself.

If someone knows any option to stop that function call, it would be of great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants