tinycarousel icon indicating copy to clipboard operation
tinycarousel copied to clipboard

Issue #20: mirrored items visible

Open sprak3000 opened this issue 9 years ago • 2 comments

This fixes an issue where mirrored items would be visible in the carousel when all of the items could fit into the visible space of the carousel. The behavior has been changed as follows:

  • When the update() method is invoked, the mirrored items will only be appended if there are slides that will not fit into the visible area of the carousel.
  • If infinite scrolling and buttons are enabled, the buttons will be toggled with the "disable" class based on if there are items that do not fit into the visible area of the carousel.
  • If the "disable" class is applied to the buttons, it will not advance the slides.
  • If you resize the window, the slide you are currently on will be "moved to".

sprak3000 avatar May 06 '16 18:05 sprak3000

Coverage Status

Coverage decreased (-1.2%) to 85.556% when pulling bb5076c3caea155651514ef315d5d3176aad8762 on sprak3000:issue-20-mirrored-items-visible into beb5a203c4a9b6253d557fa171f718a068fba63f on wieringen:master.

coveralls avatar May 06 '16 19:05 coveralls

Coverage Status

Coverage decreased (-2.0%) to 84.783% when pulling 57bf5927883090f19be5f75e8884496b9b281212 on sprak3000:issue-20-mirrored-items-visible into beb5a203c4a9b6253d557fa171f718a068fba63f on wieringen:master.

coveralls avatar May 06 '16 20:05 coveralls