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

feat(carousel): automatic hiding of navigation buttons when the first…

Open cristiantiradob opened this issue 1 year ago • 3 comments

feat(carousel): automatic hiding of navigation buttons when the first or last image is active

Added 'autoHideControls' feature to ImageSlider for intuitive navigation button visibility.

Gives a nice touch for UX when not needing to move from last image to first one. Conditional rendering of carousel controls when autoHideControls is true.

https://github.com/themesberg/flowbite-react/assets/36115659/87521d58-b0b4-4d34-bd78-d59b950d10a7

fixes #1205

New optional prop added to Carousel component: autoHideControls with false as default value. Example: Captura de pantalla 2023-12-31 a la(s) 4 34 23 p m

cristiantiradob avatar Dec 31 '23 23:12 cristiantiradob