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(tooltip): 'findEventDispatcher' should add 'returnFirstMatch' for tooltip #13992

Merged
merged 3 commits into from Jan 9, 2021

Conversation

susiwen8
Copy link
Contributor

@susiwen8 susiwen8 commented Jan 8, 2021

…or tooltip

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Add returnFirstMatch for tooltip

Fixed issues

Close #13971

Details

Before: What was the problem?

Screen Shot 2021-01-08 at 16 54 29

After: How is it fixed in this PR?

Screen Shot 2021-01-08 at 16 54 00

Usage

Are there any API changes?

  • The API has been changed.

Related test cases or examples to use the new APIs

NA.

Others

Merging options

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

Other information

@echarts-bot
Copy link

echarts-bot bot commented Jan 8, 2021

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.

The pull request is marked to be PR: author is committer because you are a committer of this project.

@susiwen8
Copy link
Contributor Author

susiwen8 commented Jan 8, 2021

test case: Tooltip in Stacked Bar Chart (check MarkPoint) in new-tooltip.html

@pissang
Copy link
Contributor

pissang commented Jan 9, 2021

@pissang pissang added this to the 5.0.1 milestone Jan 9, 2021
@susiwen8
Copy link
Contributor Author

susiwen8 commented Jan 9, 2021

Thanks for the fix!!

https://github.com/apache/incubator-echarts/blob/c4bcc97ee2a0d521872b73f2ebfa9df69fcffac4/src/component/tooltip/TooltipView.ts#L432

seems should add this parameter too.

@pissang Right, I have missed it.returnFirstMatch has been added now.

pissang
pissang approved these changes Jan 9, 2021
@pissang pissang merged commit 3e3ef0b into apache:master Jan 9, 2021
@echarts-bot
Copy link

echarts-bot bot commented Jan 9, 2021

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

@susiwen8 susiwen8 deleted the marker-tooltip branch January 9, 2021 13:38
@pissang pissang changed the title Fix(tooltip): 'findEventDispatcher' should add 'returnFirstMatch' f… Fix(tooltip): 'findEventDispatcher' should add 'returnFirstMatch' for tooltip Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Tooltip for MarkPoint/MarkLine not showing correct data since version 5.0.0
2 participants