From 02e48ab4f0130de19ca1706c72e8cb0827fd1d37 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Wed, 4 Sep 2019 21:22:40 -0400 Subject: [PATCH] alternative fix for #3495 --- src/compiler/compile/render_dom/wrappers/Element/Binding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts index 01849be5ef..44372f8793 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts @@ -67,7 +67,7 @@ export default class BindingWrapper { this.is_readonly = this.node.is_readonly; - this.needs_lock = this.node.name === 'currentTime'; // TODO others? + this.needs_lock = this.node.name === 'currentTime' || (parent.node.name === 'input' && parent.node.get_static_attribute_value('type') === 'number'); // TODO others? } get_dependencies() {