Open cristiantiradob opened 7 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flowbite-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 2, 2024 2:35am |
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7461173
) 99.54% compared to head (5354f6b
) 97.35%. Report is 184 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thank you for contributing! I like this idea and solution a lot, but like you said, it's not in the vanilla library so we probably shouldn't add it. @zoltanszogyenyi What do you think here? This PR looks good if we want it.
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: