Flowbite Navigation Routing Mistake
karanravindra opened this issue · comments
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:
- Go to 'flowbite.com/blocks'
- Click on any block
- Click on the category in the bread bar (marketing)
- 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):
- OS: MacOS
- Browser Safari
Additional context
I suspect that the dropdown filters the available blocks, however it can't filter what's not there.