|
parent.outerHTML = parent.innerHTML; |
I suggest replacing it with because:
- The menu is hidden above, but you should at least display it again.
- replaceWith does not create new nodes, which preserves their properties.
menu.style.display = "";
parent.replaceWith(menu)
figma-plugin-ds/js/selectMenu.js
Line 376 in f58d127
I suggest replacing it with because: