Skip to content
Snippets Groups Projects
Commit e0e5f1f3 authored by ambient.impact's avatar ambient.impact
Browse files

Issue #3488464: Added check to not write value prop if not visible:

This should remove the lingering custom property in various edge cases.
parent 793f8876
Branches
Tags
1 merge request!10Issue #3488464: Implemented our own progress bar; removed Turbo progress
......@@ -304,6 +304,11 @@
*/
async refresh() {
// Don't write the custom property if not visible or if currently hiding.
if (!(this.#visible === true && this.#hiding === false)) {
return;
}
await new Promise(requestAnimationFrame);
html.style.setProperty(valueCustomProperty, this.#value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment