Thin side bar and ☰ at the same time
Hello!
I need a panel to have both sidebarCollapsibleOnDesktop() and sidebarFullyCollapsibleOnDesktop(). How can I achieve that?
What I've tried:
But filament is ignoring sidebarFullyCollapsibleOnDesktop().
1 Reply
Goal description (see also the attached gif):
When user clicks on the ☰ button, a side bar fromI guess I will need 2 side bars but filament always creates only one side bar. Should I publish and change filament views 😢 ? Should I create a custom view for the second side bar and render it usingsidebarFullyCollapsibleOnDesktop()
slides from the left side. Then it stays in front of the whole page including the thin side bar fromsidebarCollapsibleOnDesktop()
and the page main content - they also gets covered by a black overlay (.fi-sidebar-close-overlay
). Note: that should also happen on desktop with highest screen sizes.
renderHook
? Any better idea?