holoviz / panel

Panel: The powerful data exploration & web app framework for Python
https://panel.holoviz.org
BSD 3-Clause "New" or "Revised" License
4.73k stars 516 forks source link

Document issue with VSCode notebook keyboard events leaking #5294

Open Alcampopiano opened 1 year ago

Alcampopiano commented 1 year ago

Hi all,

I'm using panel==1.2.0 in VS Code (under WSL). In particular, I'm using the tabulator extension.

It works great; however, when I type into the filter boxes, the characters collide with the Jupyter and VS Code keyboard shortcuts.

I demonstrate this here in a short Loom video.

Here is the code used to render the table:

def show_table(df):
    widget = pn.widgets.Tabulator(
        df,
        width=1200,
        page_size=10,
        pagination="remote",
        header_filters=True,
        disabled=True,
    )

    return widget

Any help is much appreciated! And thank you for an amazing tool. I love it.

philippjfr commented 1 year ago

Thanks for the kind words and clear bug report @Alcampopiano! I'm not yet sure how easy this will be to resolve but I'll look into it.

philippjfr commented 2 months ago

This has been fixed for JupyterLab at least, for VSCode this appears to be the same issue as https://github.com/holoviz/panel/issues/6915

For the time being I can only suggest following their instruction to:

code --uninstall-extension ms-toolsai.jupyter-keymap