prometheus/web
Julius Volz 2aebd269bc UI: Fix tooltip Y-offset drift for multiple graph panels
getBoundingClientRect() was cached in the setSize hook, which only fires
on chart creation/resize. The cached viewport-relative coordinates became
stale after scrolling, causing the tooltip to appear increasingly offset
on charts further down the page.

Fixed by calling getBoundingClientRect() on every setCursor invocation to
always get accurate viewport-relative coordinates.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2026-03-04 14:52:37 +01:00
..
api chore: fix httpNoBody issues from gocritic 2026-03-02 20:06:30 +01:00
ui UI: Fix tooltip Y-offset drift for multiple graph panels 2026-03-04 14:52:37 +01:00
federate.go Refactor parse.go into an instance-based Parser interface 2026-02-11 11:21:49 +01:00
federate_test.go chore: fix httpNoBody issues from gocritic 2026-03-02 20:06:30 +01:00
web.go Add storage.tsdb.retention.percentage config 2026-02-24 15:27:45 +01:00
web_test.go chore: fix httpNoBody issues from gocritic 2026-03-02 20:06:30 +01:00