Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: for interactive charts, changed cursor to pointer (also updated tests) #9305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JessamineQ
Copy link

@JessamineQ JessamineQ commented Apr 11, 2024

PR Description

Fixes #4155 (specifically for cursor over interactive bars)

@JessamineQ JessamineQ requested a review from a team as a code owner April 11, 2024 03:31
@JessamineQ JessamineQ changed the title For interactive charts, changed cursor to pointer (also updated tests) fix: for interactive charts, changed cursor to pointer (also updated tests) Apr 11, 2024
@JessamineQ JessamineQ marked this pull request as draft April 11, 2024 03:37
@domoritz domoritz self-requested a review April 22, 2024 17:57
@JessamineQ JessamineQ marked this pull request as ready for review April 22, 2024 22:58
Copy link
Member

@domoritz domoritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is quite right yet. For example in http://localhost:5173/editor/#/examples/vega-lite/dynamic_color_legend we show a pointer cursor but the selection is an interval selection with a brush. For brushes, the cursor should change for the whole chart (where you can draw the brush) and not change just because you hover over a mark. Think of it this way: an interval selection isn't a selection of a mark so the cursor should not be specific to the mark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interactive views should use cursors to provide affordance
2 participants