From bea5c1a93deaba39c32667d06e1955d0be024c88 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 07:54:50 +0000 Subject: [PATCH 1/2] chore: release --- .changeset/lucky-pandas-listen.md | 10 ---------- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) delete mode 100644 .changeset/lucky-pandas-listen.md diff --git a/.changeset/lucky-pandas-listen.md b/.changeset/lucky-pandas-listen.md deleted file mode 100644 index bada82f..0000000 --- a/.changeset/lucky-pandas-listen.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@lottiefiles/dotlottie-react-native': patch ---- - -fix: don't reload the animation when a view scrolls out of view and back - -Leaving the window was treated as a teardown, so list recycling and screen -transitions destroyed the player and rebuilt it on the way back, re-reading the -source and restarting from frame 0. Playback now freezes at the current frame -and resumes on return; the player is released only on unmount. diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c4871..a870d62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.12.1 +### Patch Changes + + + +- [#82](https://github.com/LottieFiles/dotlottie-react-native/pull/82) [`f01081c`](https://github.com/LottieFiles/dotlottie-react-native/commit/f01081c586ad5bd10b154d7fac37cfcdf337c204) Thanks [@theashraf](https://github.com/theashraf)! - fix: don't reload the animation when a view scrolls out of view and back + + Leaving the window was treated as a teardown, so list recycling and screen + transitions destroyed the player and rebuilt it on the way back, re-reading the + source and restarting from frame 0. Playback now freezes at the current frame + and resumes on return; the player is released only on unmount. + ## 0.12.0 ### Minor Changes diff --git a/package.json b/package.json index 9350f35..21ff587 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lottiefiles/dotlottie-react-native", - "version": "0.12.0", + "version": "0.12.1", "description": "dotlottie react native", "source": "./src/index.ts", "main": "./lib/commonjs/index.js", From 61cf8e7814497da9f2edc271bb0072f4aa2079bb Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Thu, 30 Jul 2026 14:58:33 +0700 Subject: [PATCH 2/2] chore: run ci