Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

fix(custom): preserve cursor for renderItem elements on hover#21499

Open
Ishita06-ai wants to merge 1 commit intoapache:master from
Ishita06-ai:fix-cursor
Open

fix(custom): preserve cursor for renderItem elements on hover #21499
Ishita06-ai wants to merge 1 commit intoapache:master from
Ishita06-ai:fix-cursor

Conversation

@Ishita06-ai
Copy link

@Ishita06-ai Ishita06-ai commented Jan 27, 2026

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Fixed issues

Details

Before: What was the problem?

After: How does it behave after the fixing?

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

Security Checking

  • This PR uses security-sensitive Web APIs.

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Merging options

  • Please squash the commits into a single one when merging.

Other information

description:
When using renderItem with cursor specified, the cursor is lost on hover because the emphasis state does not inherit cursor from the normal state. This PR copies the cursor value to the emphasis state during incremental rendering.

Closes #21498

Copy link

echarts-bot bot commented Jan 27, 2026

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Please DO NOT commit the files in dist, i18n, and ssr/client/dist folders in a non-release pull request. These folders are for release use only.

@Ovilia Ovilia requested a review from 100pah January 30, 2026 03:14
Copy link
Contributor

@Ovilia Ovilia left a comment

Choose a reason for hiding this comment

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

Please fix the indent and CI problems.

The code change itself looks good to me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Ovilia Ovilia Ovilia requested changes

@100pah 100pah Awaiting requested review from 100pah

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug] cursor not working in renderItem

AltStyle によって変換されたページ (->オリジナル) /