zhihanyue / qgridnext

Advancing QGrid, an interactive grid for exploring DataFrames in JupyterLab/Notebook
https://qgridnext.readthedocs.io
Apache License 2.0
24 stars 2 forks source link

Filter window won't close #10

Open p-acharya opened 2 months ago

p-acharya commented 2 months ago

Environment

Other labextensions (built into JupyterLab) app dir: /Users/poorv/.pyenv/versions/3.11.7/envs/research/share/jupyter/lab



### Description of Issue

The filter window won't close. 

https://github.com/user-attachments/assets/c5b0523f-8c8f-4134-b3d4-fdb2d2ced5f3

Even I click the close button repeatedly it won't close. 

### Reproduction Steps

1. Have a string column in a dataframe and open the filter window. 
2. Try to close it. 

...

### What steps have you taken to resolve this already?
N/A
...

### Anything else?

...
zhihanyue commented 1 month ago

What is the output of df.dtypes? I have tested three types of string columns with pandas v2.2.2: object, string[python], string[pyarrow]. With object-typed columns, it seems to work properly. With string[python] or string[pyarrow], the extension crashed, which will be fixed later.