interface.js icon indicating copy to clipboard operation
interface.js copied to clipboard

Menu not behaving with various methods

Open ccritter opened this issue 6 years ago • 0 comments

It seems that the Menu interface component does not behave correctly when operating on a parent Panel. Consider a Panel p who has a child Menu m. Calling p.clear() removes m from p's children, however m stays visible and can still be interacted with. In a similar way, calling p.redoBoundaries() after resizing p's container, it does not redraw m and it stays at the location where it was when it was first instantiated. I have not experimented with this much more to see what other Panel methods aren't updating the Menu, but I believe p.remove() has the same effect (or lack thereof).

ccritter avatar Nov 27 '18 18:11 ccritter