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

Carousel broken on initial loading #4163

Closed
sudheerj opened this issue Oct 12, 2017 · 0 comments
Closed

Carousel broken on initial loading #4163

sudheerj opened this issue Oct 12, 2017 · 0 comments
Assignees
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@sudheerj
Copy link
Contributor

The carousel is broken during initial loading with length property of undefined.(due to mobile dropdown)

Error description:

CarouselDemoComponent.html:1 ERROR TypeError: Cannot read property 'length' of undefined
at Carousel.updateMobileDropdown (carousel.js?9b24:97)
at Carousel.render (carousel.js?9b24:115)
at Carousel.ngAfterViewChecked (carousel.js?9b24:71)
at callProviderLifecycles (core.es5.js?de3d:11185)
at callElementProvidersLifecycles (core.es5.js?de3d:11157)
at callLifecycleHooksChildrenFirst (core.es5.js?de3d:11141)
at checkAndUpdateView (core.es5.js?de3d:12246)
at callViewAction (core.es5.js?de3d:12603)
at execComponentViewsAction (core.es5.js?de3d:12535)
at checkAndUpdateView (core.es5.js?de3d:12244)

Version: 4.2.2

Example:
Please refer the example available here https://github.com/sudheerj/generator-jhipster-primeng/tree/master/generators/app/templates/src/main/webapp/app/primeng/data/carousel

@cagataycivici cagataycivici self-assigned this Oct 18, 2017
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Oct 18, 2017
@cagataycivici cagataycivici added this to the 4.2.3 milestone Oct 18, 2017
@cagataycivici cagataycivici added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Pending Review Issue or pull request is being reviewed by Core Team Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants