In shady dom mode, when a paper-menu is added to a paper-submenu dynamically (via dom-template or document.createElement) after the paper-submenu is open, the complete added paper-menu disappears if you try to click one item of the paper-menu.
Expected outcome
There should be no difference between a dynamically added paper-menu in shadow DOM and shady DOM and the added paper-menu should not disappear.
Actual outcome
The paper-menu disappears completely from the DOM tree in shady dom after it is clicked or even looses focus
Description
In shady dom mode, when a paper-menu is added to a paper-submenu dynamically (via dom-template or document.createElement) after the paper-submenu is open, the complete added paper-menu disappears if you try to click one item of the paper-menu.
Expected outcome
There should be no difference between a dynamically added paper-menu in shadow DOM and shady DOM and the added paper-menu should not disappear.
Actual outcome
The paper-menu disappears completely from the DOM tree in shady dom after it is clicked or even looses focus
Live Demo & Steps to reproduce
Shady DOM (with bug)
Please run the example in https://jsfiddle.net/pprasse/qgfknpdy/10/
Shadow DOM (without bug)
Please run the example in https://jsfiddle.net/pprasse/qgfknpdy/9/
Browsers Affected