Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Live Highlighting: unpredictable when changing selection will "flash" the highlight #8914

Closed
peterflynn opened this issue Aug 29, 2014 · 4 comments

Comments

@peterflynn
Copy link
Member

  1. Open the Getting Started project and launch Live Preview
  2. Click around rapidly in the HTML or CSS code, while watching the browser window

Result: seemingly randomly, as the Live Highlighting changes, some of the time it will just draw a blue border with no animation and other times it will flash the entire rectangle with a fade-out animation.

It seems like the pattern is: if you change the highlight while the previous one was still animating, the next one won't animate at all.

I'm guessing the intent was to suppress the animation while moving the cursor around rapidly. But this isn't the behavior: because the second highlight is drawn without animation, the third will be animated, the fourth won't, the fifth will, etc. So the animation flashes on & off as the cursor is moved instead of just staying off.

But it actually may be even buggier than that: if you click around enough, it seems like you get into states where, even many seconds after the animation is over, clicking to a different item still doesn't animate sometimes. But that's harder to repro.

@marcelgerber
Copy link
Contributor

Actually a dupe of #8754, but I'll close it in favor of this one as it's more detailed.

@redmunds
Copy link
Contributor

This seems to have been fixed by @busykai 's PR #10151. FBNC back to @peterflynn .

@prafulVaishnav
Copy link
Contributor

@peterflynn Hi. I checked for this issue. It has been fixed.
Can we close this issue?

@nethip
Copy link
Contributor

nethip commented Feb 5, 2015

Closing as this seems to be fixed now.

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

No branches or pull requests

5 participants