themesberg / themesberg/flowbite

Carousel still buggy with 2 items on version 2.3.0

Open
#886 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
If you create a carousel containing only 2 Images, the Animation when sliding, does not looks right

To Reproduce
Using the 2.3.0 version from jsDelivr, in this example the bug is clear: codepen

Expected behavior
Even if there are only two Items in the Carousel I expect to have the right animations.

Desktop (please complete the following information):

  • OS: macOs Sonoma 14.4.1
  • Browser safari (17.4.1), chrome (125.0.6422.113)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodePen reproduction using Flowbite 2.3.0 from jsDelivr, and compare the carousel behavior when it contains exactly two images in Safari and Chrome. Trace the carousel entry point used by that example; done means the two-item carousel produces the expected sliding animation in both reported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, tailwindcss
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.