jupyrdf / ipyradiant

Jupyter widgets for working with RDF graphs.
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

Increase buffer in multiselect to prevent hidden options #116

Closed zwelz3 closed 3 years ago

zwelz3 commented 3 years ago

For the dynamic multi-select, long labels trigger horizontal scroll, which hides options. To prevent this, we need a buffer on the number of rows (+1 should be sufficient).

See effected lines below:

https://github.com/jupyrdf/ipyradiant/blob/fa57646129ae73cae7aa5138199edf2a16e64bb7/src/ipyradiant/visualization/cytoscape/interactive.py#L398

https://github.com/jupyrdf/ipyradiant/blob/fa57646129ae73cae7aa5138199edf2a16e64bb7/src/ipyradiant/visualization/cytoscape/interactive.py#L409