themesberg / themesberg/flowbite-react
Transition between last slide and first slide
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Description
Weird behavior for transition between last slide and first slide, or first slide and last slide.
And also transition between slides when you click on the indicators.
Steps to reproduce
The Flowbite carousel: https://flowbite.com/docs/components/carousel/ has a circular transition between last slide and first slide, but the https://www.flowbite-react.com/docs/components/carousel when arrives to the last slide and then you click to the next slide (so you can see the first slide), instead of showing the first slide it's showing the rest of the slides and then stops to the first one, like is scrolling through the rest of the slides.
Current behavior
The Flowbite React carousel does not have the same behavior like the Flowbite carousel.
Expected behavior
When I arrive to the last slide of the carousel and click next to see the first slide of the carousel,I would expect to see the first one as next and not see all the other slides until reaches to the first slide.
I would expect to have the same behavior for the Flowbite React carousel as it is for Flowbite carousel.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the Flowbite and Flowbite React carousel behavior at the linked documentation pages, then locate the carousel transition and indicator implementation. Done means navigating from the last slide to the first shows only the first slide, including when using indicators, with behavior matching Flowbite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, tailwindcss, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100