I follow the course as student Flexcamp from Gregory John ( super nice course that i’m really reccomand) but know I would like to CHALLENGE me and pimp and have two behaviors with the sidebar
- When I switch from a large breakpoint to a small breakpoint, the behavior of the sidebar changes (“FG Brand sidebar (icon + text)” or “FG Brand Sidebar SM (icon)” + hidden in ‘Navbar’ burger menu)
- When I click on the collapse/expand button of my sidebar, it displays the “FG Brand sidebar (icon + text)” or “FG Brand Sidebar SM (icon)”
I would like to have both behaviors in responsive.
My problem is: I can’t hide my “FG Brand Sidebar SM (icon)” on my small breakpoint and I don’t have any idea if my logic and process is correct or to complicated.
Can you help me please, check point 9 and 10 bellow in the A) The Design to view the problem. and follow my B) Process below
Thank you
A ) The Design
- Default page, sidebar is open as default
- When I switch de viewport to another breakpoint
- When I switch de viewport to a medium breakpoint, sidebar is smaller
- When i switch de viewport to a small breakpoint, sidebar is hide
- When i swith de viewport to a smaller breakpoint, sidebar is hide
When i click on the button sidebar and drag the viewport to another breakpoint
- Default page, sidebar is open as default
- When I click on the button sidebar, then the sidebar is smaller
- When I switch the viewpoort to a medium breakpoint, sidebar is smaller
Alert! How to hide the sidebar in small and smaller breakpoints?
- When i switch de viewport to a small breakpoint, sidebar is NOT hide !
Alert! How to hide the sidebar in small and smaller breakpoints?
- When i switch de viewport to a smaller breakpoint, sidebar is NOT hide !
B) Here my process.
I don’t know if I did things right or if it’s too complex and could be simplified.
- I create a button “FG Collapse Brand Sidebar” and put on my “FG Brand Side Bar”. Click
- Conditional FG Brand Side Bar
- Click FG Navbar + Conditional FG Navbar
- Click Group Home + Conditional Group Home
- Click “FG Brand Sidebar SM” + Conditional
- I put this button floating group “FG Expand Brand Sidebar” on my “FG Brand Side Bar SM”
- Click here.
- I add a custom state to show or hide the sidebar when I click on the “FG Expand Brand Sidebar” or “FG Collapse Brand Sidebar”
- Workflow “FG Expand Brand Sidebar is clicked”
- Workflow “FG Expand Brand Sidebar is clicked”
- Workflow Click “Set states sidebar visible?.. of dashboard-m”
- Workflow “FG Expand Brand Sidebar is clicked”
- Workflow Click “G Collapse Brand Sidebar is clicked”
- Workflow Click “G Collapse Brand Sidebar is clicked”
- Workflow Click “Set states sidebar visible?.. of dashboard-m”
- Workflow Click “G Collapse Brand Sidebar is clicked”