Hello, I'm making a personal app and I used a sidebar but when I enter any page the sidebar automatically opens.
Any ideas on how to stop this from happening? I just want it to open when I press the button.
Thanks for the help
I solved it alone.
Just applied left: 0; to the animation class and it worked
Thanks
No, I'm not using a LayoutSideMenu.
I'm using a LayoutTopMenu and added my sidebar in my HeaderContent, but when I click the button it works perfectly.
But every time I open the app in the browser the sidebar is already open and I don't want that. I just want it to open when I click the button.
Hi Ines,
Incase you are talking about the Sidebar under OutsystemsUIWeb Interaction flow, for a traditional web app, then below is the OutSystems documentation on how to use it
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Traditional_Web_Patterns/Navigation/Sidebar
If you are already following the same, and still in the default view the side bar is opening, then do ensure that you have not used the ToggleSideBar action in the preparation itself.
If possible you can share the oml to check the issue.
Regards,
Saurabh