Commit 7012c66
authored
fix: ensure useOnProgressChange responds to new offsetX and sizeReady instances
Passing new offsetX or sizeReady instances to useOnProgressChange hook would not cause useAnimatedReaction hook to re-run despite it using those values. Adding those two shared values as dependencies of the hook.1 parent fec99d7 commit 7012c66
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
0 commit comments