Skip to content

[BUG] Grid: panning the canvas sometimes starts a browser drag (no-drop cursor) #4668

Open

Description

@jordanallenlewis

Describe the bug
On the Dashboard Grid view, dragging the empty canvas to pan only works some of the time. Other times the press starts a browser drag instead: the cursor turns into the circle-with-a-slash "not allowed" cursor and the view does not move.

To Reproduce

  1. Open Dashboard, switch to Grid.
  2. Select any text on the canvas (double-click a label, or drag across a zone's stat line or the legend).
  3. Press on empty canvas and drag.
  4. The cursor shows the no-drop symbol and the pan stops (or never starts).

Expected behavior
Pressing on empty canvas always pans, whatever is selected.

Cause
onCanvasPointerDown in FleetGrid.vue starts a pan and captures the pointer, but nothing stops the browser's own drag. When canvas text is selected, the next press-and-move inside it starts a native drag of that selection: dragstart fires, then pointercancel, and the pan ends. Images and links inside a tile (the avatar, the System Dashboard link) can start a native drag the same way. Measured in Chromium on a clean canvas: no dragstart, 60px of a 60px drag applied. With a selection: one dragstart, one pointercancel, 10px of 60px applied.

Environment:

  • Trinity version: v1.0.5 / current dev
  • Browser: Chrome (also reproduced in headless Chromium)

Activity

  1. added
    status-in-dev
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status-in-dev

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions