The source project of this merge request has been removed.
Fix circuit display sizing hack for opening sub-menus.
We only apply our hack on popupshowing and popuphiding if the event target matches the panel popup.
We also add a FIXME note since the sizing hack is fragile.
We also use the "hidden" attribute to hide the circuit instead of setting the inline "display" style.
Closes tor-browser#41410 (closed)