Advanced search: Reopen the conditions menu to the selection on macOS

Firefox 153 renders a menulist's popup as a native macOS menu, which
can't be opened to a submenu, so revealSelectedCondition() has done
nothing on macOS since the upgrade. Opt this popup out of native
rendering.
This commit is contained in:
Dan Stillman 2026-08-27 16:05:57 -04:00
parent fa94212496
commit bccaf46ff2

View file

@ -899,7 +899,7 @@
<popupset id="condition-tooltips"/>
<menulist id="conditionsmenu" oncommand="this.closest('zoterosearchcondition').onConditionSelected(event.target.value); event.stopPropagation()" native="true">
<menupopup onpopupshown="if (event.target == this) this.closest('zoterosearchcondition').revealSelectedCondition()">
<menupopup nonnative="true" onpopupshown="if (event.target == this) this.closest('zoterosearchcondition').revealSelectedCondition()">
<menu id="attachment-conditions-menu">
<menupopup/>
</menu>