themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.77k stars 395 forks source link

Tab.Item onClick is full outlined. #1348

Open phil-hudson opened 3 months ago

phil-hudson commented 3 months ago

Steps to reproduce

  1. Go to '...' https://flowbite-react.com/docs/components/tabs
  2. Click on '....' React state options example
  3. click between the tabs

Current behavior

Describe what is currently happening and why it's a problem.

Screenshot 2024-04-04 at 13 35 58

The tab becomes fully outlined. Only when you click outside of the tab does the outline correct itself.

Expected behavior

Describe what you expected to happen.

That the tab is not fully outlined - I believe this is a bug as it's reproducible on many other variants. Unless I'm wrong and this is by design?