display of real-time mouse X/Y coordinates
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start by locating the JavaScript canvas mouse-move handling and the existing inspector or ruler coordinate display. Trace how screen positions are converted to canvas X/Y values, then determine where a fixed-position readout belongs in the UI. Done means coordinates update while the cursor moves over the canvas without dragging and do not interfere with editing.
Written by the indexing model from the issue text.
Description
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Is your feature request related to a problem? Please describe.
Yes - currently, there is no way to see the current X and Y coordinates of the mouse cursor unless I'm dragging an object or using the inspector. This makes precise positioning or alignment more difficult when simply navigating the canvas. I'd like a way to see cursor coordinates live while moving the mouse.
Describe the solution you'd like
A fixed-position indicator on the UI (e.g. bottom-right corner) that displays the real-time X/Y coordinates of the mouse cursor as it moves over the canvas, without needing to click or drag.
Describe alternatives you've considered
Tooltips or floating labels near the cursor were also considered, but they would need to be toggleable for users who find them distracting. Another idea could be allowing users to move the rulers themselves - for example, dragging a vertical or horizontal guide from the canvas edge to where the focus is. However, this would require more UI changes and interaction complexity. A fixed-position coordinate display is much simpler and could remain always visible without interfering with the user experience.
Additional context
Although this feature would certainly help when working without a grid or ruler, it's just as useful when those tools are enabled. In many design situations, users need to target a specific point on the canvas precisely. In traditional drawing, we often place a transparent ruler directly over the area we’re focusing on, to guide alignment and positioning. A live coordinate readout would be a simple and digital equivalent of this experience - much easier to use and implement than movable rulers or CAD-style crosshair guides.
- Dominant language
- JavaScript
- Stars
- 9.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from jgraph/drawio
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Requesting a VPAT for app.diagrams.netPossibly taken @alderg claimed this 24 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Import TablesOpenenhancement possible-duplicate
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 82/100
Leonxlnx/taste-skill#216 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
all-contributors/cli#690 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: ui Bug Payload OSS
Difficulty 1/5 Under an hour Newbie friendliness 88/100
payloadcms/payload#19839 ·
Maintainers usually reply within 1 day