#49 : Reset focused state
This commit is contained in:
@@ -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 = []
|
||||||
|
|||||||
Reference in New Issue
Block a user