Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2861093002: MD WebUI: Reduce flickering of spinner in toolbar search field (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index a14fe6d4fb6f5baa7bd4664700a0343fe2f1000b..0b6fa0f75cb4194f2d83e3c44d73b71d039afa50 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -128,8 +128,8 @@
-webkit-margin-start: var(--cr-control-spacing);
}
</style>
- <template is="dom-if" if="[[isSpinnerShown_]]">
- <paper-spinner-lite active>
+ <template is="dom-if" id="spinnerTemplate">
+ <paper-spinner-lite active="[[isSpinnerShown_]]">
</paper-spinner-lite>
</template>
<paper-icon-button id="icon" icon="cr:search" title="[[label]]"
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698