-
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-slides Cannot read property 'hasAttribute' of undefined #10940
Comments
Hello, thanks for using Ionic! Could you provide a repo that we can use to reproduce this issue? |
Hello, thanks for using Ionic! I am going to close this issue as a duplicate of #10830. |
I have the solution:
|
Thanks for the solution. |
@sayanbrainium : It didn't worked for me. |
this is still broken, and these solutions do not work |
@sayanbrainium: Your solution helps. |
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. |
when use
*ngFor
ion-slides, get this error when start the page.And in swiper.ts ,I see that
https://github.com/driftyco/ionic/blob/master/src/components/slides/swiper/swiper.ts#L206, did it's because the acitveindex is
undefined
,because when there no data in modal.the swiper is still no slide???By the way , why the
ion-slides
remove theoptions
, and usethis.slides.attributes=value
to modify some hidden options. The options of swiper is awsome, and use very well for us to custom the slides.The text was updated successfully, but these errors were encountered: