-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Avoid style recalculation in breathe behavior #3919
Comments
A good read on this topic It applies more broadly to performance than just this issue. |
@bhousel this might sound weird, but how about we disable animation and keep it simple. |
related comment: #2911 (comment) |
I'd really like to keep the animation. Before we had it, we got a lot of feedback from people saying they couldn't see when things were selected. (colorblind people especially need this) I think this animation is pretty simple and we should be able to do it without triggering reflow. Here are some more thoughts:
|
wip at #4177 |
stale |
Currently d3 is doing a
getPropertyValue
to determine the original line width / circle radius in order to determine the animation parameters for the breathing. We should just hardcode some reasonable values for vertices and lines to avoid doing this.The text was updated successfully, but these errors were encountered: