You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user opens the {{paper-sidenav component and performs any kind of click then it immediately gets closed, even if that click is on a non-link, such a toggle for a second level menu item. It appears that there is a click action handler that toggles the menu closed.
I don't think this is ideal, but I can see how it's needed to close the menu on route change. One option is to require the user to handle the didTransition event in their application route, to toggle the sidebarVisible property of the sidebar element to false.
This can be made a non-breaking, opt-in change by adding a new closeOnClick property with a default value of true. If this isn't set, then don't close on click. This way users can opt-in by explicitly setting this property to false.
The text was updated successfully, but these errors were encountered:
If a user opens the
{{paper-sidenav
component and performs any kind of click then it immediately gets closed, even if that click is on a non-link, such a toggle for a second level menu item. It appears that there is aclick
action handler that toggles the menu closed.I don't think this is ideal, but I can see how it's needed to close the menu on route change. One option is to require the user to handle the
didTransition
event in their application route, to toggle thesidebarVisible
property of the sidebar element to false.This can be made a non-breaking, opt-in change by adding a new
closeOnClick
property with a default value of true. If this isn't set, then don't close on click. This way users can opt-in by explicitly setting this property to false.The text was updated successfully, but these errors were encountered: