stac-utils / pystac

Python library for working with any SpatioTemporal Asset Catalog (STAC)

Home Page:https://pystac.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML repr is sometimes missing dropdown icon

jsignell opened this issue · comments

I have seen an issue popping up sporadically with the repr_html. I can't reliably reproduce it with jupyterlab 4.1.2 but this is what it looks like:

image

I think it probably has to do with some css that is getting messed up. In the same environment I don't have a dropdown arrow on regular summary objects either:

<details><summary>Learn more</summary>MORE</details>

Which should look like:

Learn moreMORE

but instead looks like:

image

It seems like this is something that happens sporadically in jupyter https://discourse.jupyter.org/t/details-tag-missing-disclosure-triangle/9152

I tried adding style='display: list-item' but am still seeing this behavior. It's pretty clear that the issue is with jupyterhub, but there still might be something we can do on the pystac side to work around it.