36
Views
3
Comments
Solved
Sidebar automatically opens
Application Type
Traditional Web
Service Studio Version
11.53.15 (Build 61263)

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

2022-08-31 09-06-17
Inês Santos
Solution

I solved it alone.

Just applied left: 0; to the animation class and it worked

Thanks 

2022-08-31 09-06-17
Inês Santos

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.

UserImage.jpg
Saurabh Shivananda Prabhu Chimulkar

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

2022-08-31 09-06-17
Inês Santos
Solution

I solved it alone.

Just applied left: 0; to the animation class and it worked

Thanks 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.