When I update a panel containing an Holoview plot from a Select widget the focus disappears from the selector. I assume it goes to the Holoviews panel.
Is there a way I can maintain the focus on the selector? I’d like to step through the values of the selector using the arrow keys. This is the usual way the selector works.
Callback snippet that loses focus…
def set_hv_layout_event(hv_layout, event):
set_hv_layout(_id=event.new)
# How to get the focus back to `select` here?
select.link(hv_layout, callbacks={'value': set_hv_layout_event})
(Note focus is maintained if I used functions and interact, however, I need to dynamically populate the options for select and was not sure how to do this with interact.)