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
I've been trying to use the paper-drawer-panel inside another paper-drawer-panel.
Everything works well except the toggle tap functionality. When the inner paper-drawer-panel toggle is tapped, both drawer panels react to that event.
What needs to be done is:
_onTap: function(event) {
var targetElement = Polymer.dom(event).localTarget;
var isTargetToggleElement = targetElement &&
this.drawerToggleAttribute &&
targetElement.hasAttribute(this.drawerToggleAttribute);
if (isTargetToggleElement) {
// this should be added.
e.stopPropagation();
e.preventDefault();
this.togglePanel();
}
},
The text was updated successfully, but these errors were encountered:
Hi,
I've been trying to use the paper-drawer-panel inside another paper-drawer-panel.
Everything works well except the toggle tap functionality. When the inner paper-drawer-panel toggle is tapped, both drawer panels react to that event.
What needs to be done is:
The text was updated successfully, but these errors were encountered: