themesberg / themesberg/flowbite-react

Carousel auto hide controls

Open
#1,205 0 comments 0 reactions 1 assignee View on GitHub

@cristiantiradob is already working on this.

Since Jan 1, 2024.

:rocket: enhancement
Dominant language
TypeScript
Stars
2.1k
Forks
506
PR merge metrics
No merged PRs in 30d

Description

  • I have searched the Issues to see if this bug has already been reported
  • I have tested the latest version

Summary

Hello. I came across the necessity to implement carousel controls hiding when the first or last image is active. I know this is not supported in native flowbite carousel but it gives a nice touch for UX when needed.
I implemented this solution in my forked repo. Added an optional parameter to carousel component with false default value.

https://github.com/themesberg/flowbite-react/assets/36115659/be0b1ec4-6ebe-4354-8a44-00777ead9d42

Context

I will create a PR in case you would like to add the feature to this repo.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.