From 147d187620e49ce5fb3abc9e1c3e1018755d8f02 Mon Sep 17 00:00:00 2001 From: Johannes Odland Date: Tue, 9 Jan 2024 16:21:41 +0100 Subject: [PATCH] Handle explicitly undefined options argument in updateTimingHandler (#197) --- src/proxy-animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy-animation.js b/src/proxy-animation.js index f6c985a3..a54d0e5b 100644 --- a/src/proxy-animation.js +++ b/src/proxy-animation.js @@ -784,7 +784,7 @@ function createProxyEffect(details) { return; // Additional validation that is specific to scroll timelines. - if (details.timeline) { + if (details.timeline && argumentsList[0]) { const options = argumentsList[0]; const duration = options.duration; if (duration === Infinity) {