Skip to content

Conversation

@krkshitij
Copy link
Contributor

@krkshitij krkshitij commented Dec 13, 2022

Previous Behavior

The callout stays visible when user hovers over legends

New Behavior

The callout hides when user hovers over legends

@fabricteam
Copy link
Collaborator

fabricteam commented Dec 13, 2022

📊 Bundle size report

🤖 This report was generated against 4b52fb0c1a42202c98ea350c9d9411a172b1120d

@size-auditor
Copy link

size-auditor bot commented Dec 13, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 4b52fb0c1a42202c98ea350c9d9411a172b1120d (build)

@krkshitij krkshitij marked this pull request as ready for review December 14, 2022 06:46
@krkshitij krkshitij requested a review from a team as a code owner December 14, 2022 06:46
this._onLegendClick(singleChartData.legend);
},
hoverAction: () => {
this._onLegendHover(singleChartData.legend);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should handleChartMouseLeave come first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this doesn't make much of a difference result-wise as setState is asynchronous. But it will surely be easier to understand if handleChartMouseLeave comes first

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 690e9e4:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@krkshitij krkshitij merged commit 7af0c88 into microsoft:master Dec 15, 2022
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Feb 9, 2023
* hide callout on legend hover

* add change file
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.

5 participants