infiniteCarousel.js must set dimensons of created items

Created on 31 March 2013, over 11 years ago
Updated 13 November 2024, about 1 month ago

Currently, when new empty items are created, their dimensions are not set before the following action:

$wrapper.scrollLeft(singleWidth * visible);

Left floated empty LI elements have zero dimensions (if CSS rules are not set for them), and the result is incorrect: the first visible thumbnail slide is not the same as the slide above.
The proposed solution: set dimensions of all items before calling scrollLeft().

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Javascript

Created by

πŸ‡·πŸ‡ΊRussia maximpodorov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024