Skip to content

Commit 2b91b7e

Browse files
committed
fix: change width breaking the pagination component
1 parent 60bdcf9 commit 2b91b7e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/breezy-queens-reflect.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-native-reanimated-carousel": patch
3+
---
4+
5+
change width breaking the pagination component

src/hooks/useOnProgressChange.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export function useOnProgressChange(
4545
else onProgressChange.value = absoluteProgress;
4646
}
4747
},
48-
[loop, autoFillData, rawDataLength, onProgressChange]
48+
[loop, autoFillData, rawDataLength, onProgressChange, size]
4949
);
5050
}

0 commit comments

Comments
 (0)