Commit 64ba931
authored
Fix
## Description
`fillInDefaultValues` is meant to be used only on `JS` side. However, it
was not included in
[`PropsToFilter`](https://github.com/software-mansion/react-native-gesture-handler/blob/9a72a5cc9762a0d3a3736b6e47ef359f81db82f1/packages/react-native-gesture-handler/src/v3/hooks/utils/propsWhiteList.ts#L68),
so the following warning could be observed:
```
WARN [react-native-gesture-handler] fillInDefaultValues is not a valid property for PanGestureHandler and will be ignored.
```
This PR fixes this problem.
## Test plan
Check that warning is no longer present in console (any example with
either `Pan`, `Hover`, `Pinch` or `Rotation`)fillInDefaultValues warning (#4004)1 parent 9a72a5c commit 64ba931
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments