Skip to content

Commit

Permalink
Handle explicitly undefined options argument in updateTimingHandler (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesodland authored Jan 9, 2024
1 parent fa54f02 commit 147d187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy-animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 147d187

Please sign in to comment.