-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Performance: Remove transition on block selection indicator. #25974
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
Conversation
Although fading a box shadow should be performant, for whatever reason it feels clunky in the editor. This PR simply removes the transition, making it feel much more responsive. I'm not finding myself missing the fade.
|
Size Change: -65 B (0%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
|
It truly took me far too long than it should have to work out what the effect was it was trying to do, which is a strong indicator that yes this isn't performant. +1 from me to remove this, it seems like a great win and anything we can do to make things more performant I think is great. |
|
In practice, the actual performance game is probably very tiny, and mostly on high res screens. However the perceived performance gain, I feel, is quite big on any screen. Now selection feels instant because it looks instant, even if it's only marginally faster. |
|
Thank you Ella! |
|
This is great. Nice work! |
|
Big fan of perceived performance gains 👏 |
Although fading a box shadow should be performant, for whatever reason it feels clunky in the editor:
This PR simply removes the transition, making it feel much more responsive. I'm not finding myself missing the fade: