{"action":"created","issue":{"url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/622","repository_url":"https://api.github.com/repos/miguelcobain/ember-paper","labels_url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/622/comments","events_url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/622/events","html_url":"https://github.com/miguelcobain/ember-paper/issues/622","id":200388276,"number":622,"title":"Sidenav desired behavior seems to be unavailable","user":{"login":"whiskeysauer","id":19495514,"avatar_url":"https://avatars.githubusercontent.com/u/19495514?v=3","gravatar_id":"","url":"https://api.github.com/users/whiskeysauer","html_url":"https://github.com/whiskeysauer","followers_url":"https://api.github.com/users/whiskeysauer/followers","following_url":"https://api.github.com/users/whiskeysauer/following{/other_user}","gists_url":"https://api.github.com/users/whiskeysauer/gists{/gist_id}","starred_url":"https://api.github.com/users/whiskeysauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiskeysauer/subscriptions","organizations_url":"https://api.github.com/users/whiskeysauer/orgs","repos_url":"https://api.github.com/users/whiskeysauer/repos","events_url":"https://api.github.com/users/whiskeysauer/events{/privacy}","received_events_url":"https://api.github.com/users/whiskeysauer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-12T14:57:43Z","updated_at":"2017-01-12T15:18:00Z","closed_at":null,"body":"I can't seem to achieve this behavior with the sidenav.\r\n\r\nI want to set the sidenav to never lock open but allow the user to toggle it whenever they choose - and leave it open if they want. The default (initial) state is based on a media query, but the user can override this as they choose.\r\n\r\nI don't really care if a media query has it closed below some minimum width. What I DO want and need is for the user to be able to show and hide the sidenav even if they are in a wide desktop screen. Some apps have wide tables and a user may want to fully expand the container so they can view more data. This does not seem to be possible right now. If I turn off \"open lock\", then all I can do is briefly toggle the sidenav. It no longer does a \"push\", but does an overlay and blocks the main content container. So this is no good.\r\n\r\nWhen turning \"lockedOpen\" to false, the logic assumes you don't ever want to have the menu still showing and only want it to open until you move off the menu.\r\n\r\nA good example of an ideal sidenav is Freshbooks, but there are many others. The user can collapse the sidenav and expand it again. They can do this even when the resolution is wide. A media query WILL still collapse the sidenav, but again... the user can toggle it as needed. The KEY here is that a user can STILL collapse the sidenav even when the screen is wide - AND leave it open. Or leave it closed. Whatever they want to do.\r\n\r\n**Update**:\r\nOne other note.. I can ALMOST get this desired behavior by overriding the css that sets the display to none for the menu icon. When doing that, I do not set the lockedOpen to false. I leave the selector as-is.  That actually works, but when I click the toggle button, nothing happens. I assume I missed some logic in the addon that controls whether or not the sidenav will actually toggle (based on ???)\r\n\r\nIf I can find that, OR... perhaps I can just use some css to block the default menu button and add my own button which can call the toggle method?"},"comment":{"url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/comments/272189834","html_url":"https://github.com/miguelcobain/ember-paper/issues/622#issuecomment-272189834","issue_url":"https://api.github.com/repos/miguelcobain/ember-paper/issues/622","id":272189834,"user":{"login":"whiskeysauer","id":19495514,"avatar_url":"https://avatars.githubusercontent.com/u/19495514?v=3","gravatar_id":"","url":"https://api.github.com/users/whiskeysauer","html_url":"https://github.com/whiskeysauer","followers_url":"https://api.github.com/users/whiskeysauer/followers","following_url":"https://api.github.com/users/whiskeysauer/following{/other_user}","gists_url":"https://api.github.com/users/whiskeysauer/gists{/gist_id}","starred_url":"https://api.github.com/users/whiskeysauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whiskeysauer/subscriptions","organizations_url":"https://api.github.com/users/whiskeysauer/orgs","repos_url":"https://api.github.com/users/whiskeysauer/repos","events_url":"https://api.github.com/users/whiskeysauer/events{/privacy}","received_events_url":"https://api.github.com/users/whiskeysauer/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T15:18:00Z","updated_at":"2017-01-12T15:18:00Z","body":"I did try that as well. However, if I set lockedOpen to false, I can get it to collapse. But when I open it, it will not persist. It's just a \"peak\" (so to speak) at the menu where I can take some action and then it will go away. And it is an overlay, whereas I want the content to push out and the menu remains there - until the user decides they don't want it that way anymore.\r\n\r\nThe default behavior right now (from the dummy app) is SO close to what I want to do. I want the sidenav to still collapse based on a media query on smaller screens. But when wide, I just want to give my user the ability to still collapse it manually as needed. That's basically it. I did override the display:none) of the toggle button used in the media queries. That allows me to still show that button even if I set lockedOpen to a selector. But when I click the button it does not toggle. I think some logic elsewhere is preventing the toggle.\r\n\r\nIt's not a total show-stopper issue. It's just really nice to allow the user to collapse that menu as needed. My app displays financial data and sometimes the user will want to really have that as wide as can be and collapse the sidenav for a while."}}
{"actor":{"display_login":"whiskeysauer"}}