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(partition): fix safari highlight bug on single slice #1132

Merged

Conversation

markov00
Copy link
Member

Summary

It looks like safari has a rendering issue on circles if rendered entirely applying a strokeWidth instead of the fill.
I've updated the code for the case where we have a single slice at the root level.

fix #1085

@markov00 markov00 added bug Something isn't working :partition Partition/PieChart/Donut/Sunburst/Treemap chart related labels Apr 22, 2021
@markov00 markov00 requested a review from monfera April 22, 2021 16:53
@markov00 markov00 changed the title fix(partition): better highlight on safari fix(partition): fix safari highlight bug on single slice Apr 22, 2021
Copy link
Collaborator

@nickofthyme nickofthyme left a comment

Choose a reason for hiding this comment

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

LGTM Confirm fixes issue.

image

@markov00 markov00 merged commit 4a04063 into elastic:master Apr 23, 2021
@markov00 markov00 deleted the 2021_04_22-fix_single_slice_highlight branch April 23, 2021 16:23
nickofthyme pushed a commit that referenced this pull request Apr 23, 2021
# [29.1.0](v29.0.0...v29.1.0) (2021-04-23)

### Bug Fixes

* **interaction:** remove unnecessary elements ([#1131](#1131)) ([411042f](411042f)), closes [#1074](#1074)
* **partition:**  fix safari highlight bug on single slice ([#1132](#1132)) ([4a04063](4a04063)), closes [#1085](#1085)

### Features

* **tooltip:** add stickTo option ([#1122](#1122)) ([12417e2](12417e2)), closes [#921](#921)
@nickofthyme
Copy link
Collaborator

🎉 This PR is included in version 29.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nickofthyme nickofthyme added the released Issue released publicly label Apr 23, 2021
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this pull request Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :partition Partition/PieChart/Donut/Sunburst/Treemap chart related released Issue released publicly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single slice pie chart rendering issue in Safari
2 participants