#49 : Reset focused state

This commit is contained in:
Vadim
2021-08-06 23:12:43 +03:00
parent 094ed0894e
commit 2ac5a9e190

View File

@@ -190,7 +190,10 @@
return return
} }
autoplay && await autoplayDirectionFnDescription[autoplayDirection]() if (autoplay) {
focused = false // reset focused on page change
await autoplayDirectionFnDescription[autoplayDirection]()
}
} }
let cleanupFns = [] let cleanupFns = []