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

Pie chart slices may flicker when hovering the "inside" border #26

Closed
darlesson opened this issue May 15, 2018 · 2 comments
Closed

Pie chart slices may flicker when hovering the "inside" border #26

darlesson opened this issue May 15, 2018 · 2 comments
Labels

Comments

@darlesson
Copy link

Slices may flicker when it's selected and the cursor stays over the border facing the center of the pie.

flickering

@martynasma
Copy link
Collaborator

This is tricky. Slide out happens on hover. If cursor is close to the edge, it may become not above the slice, which in turn triggers out event and sliding in :)

Fixing this would require a lot of fuzzy logic, and we're trying to avoid that.

The issue is not as prominent when using Animated theme.

At this point I'm going to shelve this as a non-issue, until we figure a logical way to avoid it, such as using better defaults, or something similar.

@JeanPerriault
Copy link

Hi, @martynasma you stated you may figure a "logical way to avoid it", are there any progress on this? I've seen that using animated theme kind of reduce the flickering, but this is still there, especially when using thin slices (see https://codepen.io/jeanperriault/pen/wvgqgGr). Could you point me to the code handling this hover mechanism? Couldn't some debounce help?

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

No branches or pull requests

3 participants