Russ
Well-known member
I have a basic form, where the first input would activate a popup:
This works but... the input loses the focus, and when you try clicking on it again it closes the menu. Any way to make it so the input stays focused when clicked? I'm hoping I'm missing the obvious here.
Code:
<form method="post" data-no-auto-focus="true">
<xf:textbox data-xf-click="menu" />
<div class="menu menu--structural menu--wide" data-menu="menu">
<div class="menu-content">
<div class="block-row">
random menu
</div>
</div>
</div>
</form>
This works but... the input loses the focus, and when you try clicking on it again it closes the menu. Any way to make it so the input stays focused when clicked? I'm hoping I'm missing the obvious here.