Hi all,
I've been enjoying voila so far for rendering widgets as websites.
One issue I'm having is I seemingly can't use a notebook extension I use in a widget.
Specifically, my widget superintendent uses ipyevents for capturing keyboard keystrokes. ipyevents provites a jupyter extension that can capture keystrokes.
While it works in a notebook, it doesn't work when presenting that notebook using voila.
Example:
pip install git+https://github.com/janfreyberg/superintendent.git
jupyter nbextension enable --py --sys-prefix ipyevents
from superintendent import SemiSupervisor
import numpy as np
SemiSupervisor(
features=np.random.randint(10, shape=(10, 3)),
options=range(10),
keyboard_shortcuts=True
)
This should allow the user to press e.g. the "1" key to label a row as 1, but this doesn't work in voila.
Is this intentional? Is there a workaround?
Hey @janfreyberg sorry for the late reply. I could troubleshoot your issue

Closing as I am doing triage. Let me know if you have any other question.
Amazing, thanks for looking into this!
@janfreyberg -- I just put ipyevents 0.3.2 on pypi and 1.3.2 on npm. Could you please try updating? If it doesn't work please open an issue at https://github.com/mwcraig/ipyevents/issues
I'll get the conda-forge package updated later today.
@mwcraig can confirm that it works with the latest version of ipyevents! Thanks for sorting this so quickly.
馃帀
Most helpful comment
@mwcraig can confirm that it works with the latest version of ipyevents! Thanks for sorting this so quickly.