flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

Carousel auto hide controls

Open cristiantiradob opened this issue 1 year ago • 0 comments

  • [x] I have searched the Issues to see if this bug has already been reported
  • [x] 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.

cristiantiradob avatar Dec 31 '23 23:12 cristiantiradob