The discussion revolves around the possibility of defaulting to a hidden sidebar in Discourse. nolo asks if it’s possible to show the landing page in full width on initial page load and only reveal the sidebar when the menu icon is clicked. hiddenseal suggests that the sidebar is controlled by the aria-expanded attribute and shares a related link. nolo attempts to use this approach but encounters issues with an automatic animation and realizes that the aria-expanded attribute only indicates the state, not controls it. Don provides a solution by sharing a custom component on GitHub that achieves the desired functionality, which is appreciated by nolo and vikiedavie.
When I enable the sidebar navigation, the sidebar shows by default and the first time a user clicks the menu icon, it will hide the sidebar.
Can I reverse this setup, so the landing page shows in full width on initial page load and when a user clicks the menu icon it will reveal the sidebar?