Skip to content

Canvas: show position, size or angle next to the element while dragging #5590

Closed

Description

@miguel-heygen

When you move, resize or rotate an element on the canvas there is no live readout of where it is, so lining things up by number means checking the properties panel after every drag. The editing overlay is ConnectedDomEditOverlay (packages/studio/src/components/editor/).

Done when

  • While moving, a small label at the element's top right shows its rounded X and Y in composition pixels.
  • While resizing it shows width x height; while rotating, the angle in degrees.
  • The label stays on screen near the edges and disappears when the gesture ends. It never appears in renders.
  • A test for each gesture.

Desktop candidate: this component is also used by the HyperFrames Desktop app, so the change reaches it with the next version bump.

Reviewer: @miguel-heygen. New to the repo? Start with CONTRIBUTING.md; run bun install, then the package's tests, before opening a PR.

Activity

  1. added
    difficulty/easyLocalized change with a known approach, limited risk, and straightforward verification.
    enhancementNew feature or request
    good first issueEasy, available, ready work with code/test pointers and a confirmed newcomer mentor.
    help wantedReady, available work with maintainer review support; any difficulty.
    triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.
    desktop-candidateShared Studio code that the HyperFrames Desktop app also uses
    on Oct 14, 2026
  2. Dante-dan commented on Oct 14, 2026

    @Dante-dan
    Contributor

    I plan to add the live readout to Studio’s existing overlay, using composition pixels for position and the current size/rotation draft for the other gestures. The label will sit by the element’s top-right corner, clamp within the visible canvas, and disappear on release or cancellation without adding anything to the composition document. I’ll cover move, resize and rotation in the overlay tests and run Studio’s tests. Please assign this to me.

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

    desktop-candidateShared Studio code that the HyperFrames Desktop app also usesdifficulty/easyLocalized change with a known approach, limited risk, and straightforward verification.enhancementNew feature or requestgood first issueEasy, available, ready work with code/test pointers and a confirmed newcomer mentor.help wantedReady, available work with maintainer review support; any difficulty.triage/readyAccepted scope, current evidence, acceptance criteria, and validation path are recorded.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions