material-web icon indicating copy to clipboard operation
material-web copied to clipboard

[mwc-menu] Updating the x and y properties does not update the menu's position

Open neilvanlandingham opened this issue 3 years ago • 1 comments

An example of the bug: https://jsfiddle.net/weft_digital/s6m94cpn/18/

Expected behavior The menu position should update when the x and y properties are changed without having to close and reopen the menu.

Additional context This is important for using mwc-menu as a context menu that updates its position on repeated right clicks without closing first.

neilvanlandingham avatar Oct 12 '21 01:10 neilvanlandingham

Thanks for the issue and for explaining the use case! Looks like we need to update the positioning on these property changes, similar to resize or re-orientation listeners.

allan-chen avatar Oct 14 '21 21:10 allan-chen

Obsolete with M3

asyncLiz avatar Aug 02 '23 02:08 asyncLiz