speedup: don't animate elements during import
This commit is contained in:
parent
b61dc4184b
commit
7f6d3e241a
|
@ -352,10 +352,10 @@ function handleUpdate(style, {reason, quiet} = {}) {
|
|||
}
|
||||
}
|
||||
installed.insertBefore(element, findNextElement(style));
|
||||
if (!quiet) {
|
||||
if (reason != 'import') {
|
||||
animateElement(element, {className: 'highlight'});
|
||||
scrollElementIntoView(element);
|
||||
}
|
||||
scrollElementIntoView(element);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user