Skip to content

Commit

Permalink
Merge pull request davidjerleke#728 from davidjerleke/bug/davidjerlek…
Browse files Browse the repository at this point in the history
…e#720

[Bug]: UI issues when removing slides
  • Loading branch information
davidjerleke committed Feb 1, 2024
2 parents fcda9ed + 7468665 commit a92db1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/embla-carousel/src/components/Animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export function Animations(
}

function animate(timeStamp: DOMHighResTimeStamp): void {
if (!animationFrame) return
if (!lastTimeStamp) lastTimeStamp = timeStamp

const elapsed = timeStamp - lastTimeStamp
Expand Down

0 comments on commit a92db1c

Please sign in to comment.