| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Type errors are coming from 500 on ESM.sh.. |
Sorry, something went wrong.
HiGlass v2.2.2 exports its CSS as `hglib.CSS`, which lets us encapsulate viewer styles using the Constructable Stylesheets API and a Shadow DOM. This prevents HiGlass styles from leaking into (or being affected by) the host notebook environment. The wheel event handler now also calls `preventDefault()` in addition to `stopPropagation()`. With the shadow DOM boundary, `stopPropagation()` alone wasn't sufficient to prevent page scrolling in marimo since composed events cross the shadow boundary.
| Back | FazBrowse Home | New Git URL |
HiGlass v2.2.2 exports its CSS as hglib.CSS, which lets us encapsulate viewer styles using the Constructable Stylesheets API and a Shadow DOM. This prevents HiGlass styles from leaking into (or being affected by) the host notebook environment.
The wheel event handler now also calls preventDefault() in addition to stopPropagation(). With the shadow DOM boundary, stopPropagation() alone wasn't sufficient to prevent page scrolling in marimo since composed events cross the shadow boundary.
higlass-python in marimo: