UX: Zoom affects entire window instead of canvas after tooltip appears in Lineage & Workflow Builder

Description

When zooming in Lineage and Workflow Builder, zooming normally affects only the canvas. However, if a tooltip (e.g., hover help or label) appears and then the user attempts to zoom (via trackpad gesture at least), the zoom unexpectedly applies to the entire window rather than just the canvas area. This is a quality of life issue, but I finally figured out the repro steps, so thought I’d share.

Repro

  1. Open Lineage
  2. Add a dataset resource (objects and applications don’t have popups)
  3. Hover over a dataset to trigger a tooltip popup.
  4. With the cursor over the tooltip, attempt to zoom in or out (trackpad gesture).
  5. Observe that the zoom affects the entire window or page, not just the canvas.

Expected Behavior

Zooming should continue to affect only the canvas, regardless of whether a tooltip is visible.

Actual Behavior

Zoom scope shifts to the entire window, breaking expected canvas behavior. It also makes it difficult to zoom back out.

Possible Cause

Tooltip focus or DOM layering may be capturing scroll/zoom events and redirecting them outside the canvas container.

Hi @dudonwai,

Thanks for filing. It’s likely the best we can do here is drop these zoom events entirely. Given how these components are structured, it would be very difficult for us to capture and somehow process any zoom event on a layer above the graph as a zoom on the graph itself. This is not the ideal solution, but it will prevent the undesirable state of zooming the whole window.