themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.3k stars 710 forks source link

Flowbite Navigation Routing Mistake #837

Open karanravindra opened 3 months ago

karanravindra commented 3 months ago

Describe the bug When on the Flowbite Blocks site, after clicking on a block, the bread crumbs appears. Clicking on the category takes you to /blocks/[category]. This page is correct, however it also shows a drop down selector that (should) let you change the block category, however it does not Route the user to a different page, however it filters the showing blocks.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'flowbite.com/blocks'
  2. Click on any block
  3. Click on the category in the bread bar (marketing)
  4. Select a different category. -> results in the error

Expected behavior When the user is on https://flowbite.com/blocks/ and they select a desired category, the showing blocks properly filter, however when the user navigates back from a block via the bread crumbs, they navigate to https://flowbite.com/blocks/marketing/. This results in only the Marketing blocks to be shown regardless of the category selected in the dropdown.

Desktop (please complete the following information):

Additional context I suspect that the dropdown filters the available blocks, however it can't filter what's not there.