material-web
material-web copied to clipboard
[mwc-menu] Updating the x and y properties does not update the menu's position
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.
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.
Obsolete with M3