Component: Carousel | Circular Option is broken when first iteration is done #13821
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When first circular iteration is done, the component moves back all the way to the second element see:
https://www.youtube.com/watch?v=9YeLum9tyn0
Looking into some console loggings, it is looking for me that the value at position 7 to -3 (totalShiftedItems) is being wrongly overwritten by the second logging at position 4 to -1 (totalShiftedItems).
The second logging in this case is the ngAfterContentChecked function.
Environment
Reproducer
https://primeng.org/carousel
Angular version
16.2.3
PrimeNG version
16.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.5.1
Browser(s)
Chrome, Safari
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: