Commit Graph
4 Commits
Author SHA1 Message Date
pk 4158f88ae3 Add clampToContainer option to Position helper
_posFixed now resolves a clamp rect (viewport by default; the nearest
containing-block rect when clampToContainer is set) and clamps position,
edges, and max-height against it. Fixes popups rendered under an ancestor
with transform/filter/contain:layout|paint, where position: fixed resolves
against that ancestor and the viewport is the wrong clamp edge.
2026-08-09 23:15:05 +02:00
pk de558561b6 Move code to make sure a clean-up happens on each run. 2025-07-06 00:07:53 +02:00
pk ab914d8bf2 Improve _posFixed to make sure content never gets cut off on very small view ports. 2025-07-05 23:49:12 +02:00
pk cab71980d8 Add initial versions 2022-03-11 23:42:26 +01:00