Chromium Code Reviews
DescriptionMD WebUI: Reduce flickering of spinner in toolbar search field
In https://crrev.com/402922, the loading spinner inside the WebUI
toolbar search field was changed to gradually fade in and out, reducing
flickering when the spinner was only shown for a short amount of time.
However, https://crrev.com/416604 regressed this behavior by wrapping the
spinner in a dom-if, improving performance but preventing the fade
animation.
This CL combines both approaches, using a dom-if to lazily render the
spinner the first time it is used, but then using the fade animation to
show and hide the spinner thereafter.
BUG=718361
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2861093002
Cr-Commit-Position: refs/heads/master@{#469935}
Committed: https://chromium.googlesource.com/chromium/src/+/7d1496a99b064d43adbee156731a2b895ced6d39
Patch Set 1 #
Messages
Total messages: 18 (12 generated)
|
||||||||||||||||||||||||||||