<@U0B854PM2> Is there any out of the box way to h...
# jewel
f
@seb Is there any out of the box way to have a popup menu be compatible with a text input component? Ie imagine autocomplete, where you are typing, and something triggers the popup, and you can use up/down/enter to navigate the popup menu, but you can also keep typing in the text input component
s
You can do it, but we have nothing built-in
the trick is to make the popup not focusable
and intercept key events from the text field (that remains focused) when the popup is visible and act on those at that level
f
thanks! that's what I figured but wanted to double check if there wasn't anything already, since it seems relatively common
s
No, not yet. Not super high on our priorities rn either to be honest, our backlog is already long enough :D
f
no problem, I get it 😛
😄 1