-
Notifications
You must be signed in to change notification settings - Fork 32
TypeError: Cannot read property 'left' of undefined #71
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
Comments
I have experienced the same problem, using ngFor. |
I have same issue. I am using Angular 2. |
Thank you all for the feedback, Have any of you had any luck getting this to work? I checked the demo app inside of the project id I'm not seeing it happening in the dynamic example. {N} version 2.3, iOS and android. if any of you could post an example of how you have the slides setup that would help as well. Thanks everyone. |
Sorry, for the bad format, I dont kwon how to keep format on code. |
If you want to get this error in the sample example just comment whole onSlideContainerLoaded function. This error happens when some initialization logic in the plugin starts to execute, but slides have not been added at this point. In my opinion this is wrong and normally this should work in the way that slides can be added anytime and empty slider (without slides) should not lead to an exception. |
Same Issue here |
Well this solved it for me issues/42 |
@aboalwi Are you saying that if no slides are added it works for you and doesn't throw that exception? |
@terreb No. |
I have a problem with I try to use a repeater o when I try to create the view via code
TypeError: Cannot read property 'left' of undefined
File: "/data/data/org.nativescript.wosapp/files/app/tns_modules/nativescript-slides/nativescript-slides.js, line: 268, column: 17
StackTrace:
Frame: function:'SlideContainer.positionPanels', file:'/data/data/org.nativescript.wosapp/files/app/tns_modules/nativescript-slides/nativescript-slides.js', line: 268, column: 18
Frame: function:'', file:'/data/data/org.nativescript.wosapp/files/app/tns_modules/nativescript-slides/nativescript-slides.js', line: 197, column: 23
Frame: function:'Observable.notify', file:'/data/data/org.nativescript.wosapp/files/app/tns_modules/data/observable/observable.js', line: 158, column: 23
Frame: function:'Observable._emit', file:'/data/data/org.nativescript.wosapp/files/app/tns_modules/data/observable/observable.js', line: 177, column: 18
Frame: function:'View.onLoaded', file:'/data/data/org.nativescript.wosapp/files/app/tns_modules/ui/core/view-common.js',
The text was updated successfully, but these errors were encountered: