Files
sure/app/javascript
Xing Hong 9d10ab3309 Fix budget donut chart hiding center content on segment hover (#1551)
* Fix budget donut chart hiding center content on segment hover

* Preserve segment hover in center unless leaving the unused arc

The unused arc has no interactive link in its center template, so
moving from it into the center content should restore default content(including the Edit Budget link) immediately. All other segments have a DS::Link in their center template that must remain clickable after the cursor moves from the arc into the center.

Pass the D3 datum into the mouseleave handler to read d.data.id, then clear hover when either (a) the departing segment is the unused arc, or (b) the cursor is not heading into contentContainerTarget.
2026-04-26 09:32:20 +02:00
..
2025-05-20 13:31:05 -05:00