Skip to content

Commit

Permalink
Removed reset on hide
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascf committed Mar 12, 2024
1 parent bcd5f64 commit 08887cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/embla-carousel/src/components/Animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export function Animations(
let animationFrame = 0

function init(): void {
documentVisibleHandler.add(ownerDocument, 'visibilitychange', () => {
/*documentVisibleHandler.add(ownerDocument, 'visibilitychange', () => {
if (ownerDocument.hidden) reset()
})
})*/
}

function destroy(): void {
Expand Down

0 comments on commit 08887cf

Please sign in to comment.