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 paper-drawer-panel is wrapped inside another element and if we try to pass the elements through the node, it doesn’t work.
This is happenning because the localTarget reference in the _onTap method of paper-drawer-panel changes when the element is wrapped inside another.
Is this a bug with the element or with event-retargeting itself.
Expected outcome
paper-drawer-panel should work irrespective of how it is used. So are all other elements.
Actual outcome
the event target reference is broken and it doesn't work any more.
Replace <content></content> in the x-base element (above example) with <paper-icon-button icon="apps" paper-drawer-toggle></paper-icon-button> and the component works.
Browsers Affected
Chrome
Firefox
Safari 9
Safari 8
Safari 7
Edge
IE 11
IE 10
The text was updated successfully, but these errors were encountered:
Description
If
paper-drawer-panel
is wrapped inside another element and if we try to pass the elements through the node, it doesn’t work.This is happenning because the
localTarget
reference in the_onTap
method ofpaper-drawer-panel
changes when the element is wrapped inside another.Is this a bug with the element or with event-retargeting itself.
Expected outcome
paper-drawer-panel
should work irrespective of how it is used. So are all other elements.Actual outcome
the event target reference is broken and it doesn't work any more.
Live Demo
https://jsfiddle.net/kleptomac/4Lbfrte2/
Steps to reproduce
app
icon. The drawer doesn't open.<content></content>
in thex-base
element (above example) with<paper-icon-button icon="apps" paper-drawer-toggle></paper-icon-button>
and the component works.Browsers Affected
The text was updated successfully, but these errors were encountered: