GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bugfix: mouse cursor consistency by KoolADE85 · Pull Request #8152 · plotly/plotly.js

Conversation

@KoolADE85

@KoolADE85 KoolADE85 commented Oct 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR fixes inconsistencies in what the mouse cursor indicates will happen if you interact with the graph, as outlined in the issue.

Fixes #8151

Testing steps:

  1. Make a basic bar/scatter/line chart and hold shift: the cursor will now change accordingly
  2. Make a graph that cannot be panned (fixedrange: true): the cursor is now just a basic arrow (not a pan cursor)
  3. Make a geo plot: the pan cursor now matches the other trace types; it no longer changes to an arrow when you drag outside the map
  4. Make a gl3d plot: zoom and pan now use the same cursors as the other trace types
  5. Make a graph where one point can be clicked (annotated with clicktoshow): the cursor changes to a hand on hover; the original cursor is now restored when you hover off

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
KoolADE85 and others added 9 commits October 27, 2026 14:49
@KoolADE85
respect the shift key when displaying a cursor; remove dead code that…
f1900c9
… hasn't been handling the ctrl key
@KoolADE85
do not show a click cursor when cartesian plot cannot be panned
76ce147
@KoolADE85
use a move cursor on geo plots to reflect panning mode
b9dd34e
@KoolADE85
use consistent pan/zoom cursors in gl3d plots
0ec7d13
@KoolADE85
prevent setting the cursor on document.body
f7c197a
@KoolADE85
clear the clicktoshow pointer cursor after hovering off the clicked…
c2158a1
… element
@KoolADE85
Merge branch 'main' into bugfix/cursor-consistency
e0ddeaf
@KoolADE85
draftlog
3194dba
@KoolADE85
fix edge cases from failing tests
eb290e9
@KoolADE85
KoolADE85 marked this pull request as ready for review October 27, 2026 21:51
@camdecoster camdecoster self-assigned this Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@camdecoster camdecoster

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG]: Cursor does not reflect mouse action in several situations

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@KoolADE85 @camdecoster
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.