Topic: Console error for slider
Venky pro asked 5 years ago
HomeComponent.html:1 ERROR TypeError: Cannot read property 'classList' of undefined at DefaultDomRenderer2.push../node_modules/@angular/platform-browser/fesm5/platform-browser.js.DefaultDomRenderer2.addClass (platform-browser.js:1111) at BaseAnimationRenderer.push../node_modules/@angular/platform-browser/fesm5/animations.js.BaseAnimationRenderer.addClass (animations.js:239) at DebugRenderer2.push../node_modules/@angular/core/fesm5/core.js.DebugRenderer2.addClass (core.js:24320) at CarouselComponent.push../node_modules/ng-uikit-pro-standard/fesm5/ng-uikit-pro-standard.js.CarouselComponent.ngAfterViewInit (ng-uikit-pro-standard.js:1723) at callProviderLifecycles (core.js:22416) at callElementProvidersLifecycles (core.js:22390) at callLifecycleHooksChildrenFirst (core.js:22380) at checkAndUpdateView (core.js:23316) at callViewAction (core.js:23548) at execComponentViewsAction (core.js:23490)
Damian Gemza staff answered 5 years ago
Dear @Venky
I have checked the Testimonials Section carousel with the 7.5.1 version of MDB Angular, and there are no such errors.
Could you please provide me with the code which you're using, and produces you problems? Please attach both HTML and TS code.
Without the code, I won't be able to help you well.
Best Regards,
Damian
Damian Gemza staff answered 5 years ago
Dear Venky,
Could you please provide me the reproduction steps, how can I reproduce your problem?
The carousel is working fine, so there shouldn't be such an error.
Please provide me with the code which you're using (both html and ts), and reproduction steps.
Best Regards,
Damian
Venky pro commented 5 years ago
Carousel is working fine, But I am getting an Error on console
Please visit website www.bashbook.in, the problem is in home/landing page carousel.
Code added below
/* Angular Code Starts Here */
//It is a api Call list of itemsthis.matchList = this.route.snapshot.data['matchList'].json();
/* Angular Code EndsHere */
Arkadiusz Idzikowski staff commented 5 years ago
This error should no longer occur in version 7.5.1.
Venky pro commented 5 years ago
I have updated to 7.5.1, but I am still facing the same issue for testimonial-carousel
Please check the below website home page
www.bashbook.in
Many thanks for your help, Venky
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.4.3
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No