Top Navigation Multiple Issues
I seem to have multiple issues with the Top Navigation Menu. Can you please advice how to fix this?
- The current navigation item is never selected when it is on the current page
- How can you increase the width of the navigation item when the length of the navigation label is higher
- Is there a way to position the menu items on the navigation?
5 Replies
I also want to be able to position the parent items as well
any advice on this?
The width will need to be adjusted with css.
The order should follow the same ordering conventions as the sidebar navigation.
@awcodes thank you. Let me try to do this. Can you advice on the default link for the current page not being selected. Is this a bug that I need to report?
I don't know if it's a design decision or a bug, but it looks like the active is not implemented in the dropdown on top navigation.
https://github.com/filamentphp/filament/blob/008747942358aee13294a09becb1b3cf7d415176/packages/panels/resources/views/components/topbar/index.blade.php#L88
GitHub
filament/packages/panels/resources/views/components/topbar/index.bl...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
created a PR for the top bar active drop down item to fix this https://github.com/filamentphp/filament/pull/11024. Hopefully it gets merged
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.