diff --git a/.changeset/calm-swans-compare.md b/.changeset/calm-swans-compare.md new file mode 100644 index 00000000..e3dc509a --- /dev/null +++ b/.changeset/calm-swans-compare.md @@ -0,0 +1,5 @@ +--- +'@mobile-reality/react-native-select-pro': patch +--- + +fix options close animation conflict with react native modal diff --git a/packages/react-native-select-pro/src/state/reducer.ts b/packages/react-native-select-pro/src/state/reducer.ts index 0a9769ca..0ffb1066 100755 --- a/packages/react-native-select-pro/src/state/reducer.ts +++ b/packages/react-native-select-pro/src/state/reducer.ts @@ -21,10 +21,6 @@ export const reducer = (state: State, action: ActionType): State => state.animationDuration > 0 && LayoutAnimation.configureNext({ duration: state.animationDuration, - delete: { - type: LayoutAnimation.Types.linear, - property: LayoutAnimation.Properties.opacity, - }, }); return { ...state,