react-native-modalize
react-native-modalize copied to clipboard
Dynamic values are not assigned as snappoint value
Describe the bug I'm trying to use sum dynamic values for snappoint. It's not assigning correct value and it took previous value as snappoint value.
`const snapPoint = miniViewHeight + handleHeight + hp('8.62%');
<Modalize snapPoint={snapPoint} closeSnapPointStraightEnabled={false} scrollViewProps={{showsVerticalScrollIndicator: false}} handlePosition="inside" modalTopOffset={100} contentRef={contentRef} closeOnOverlayTap={true} onClosed={onClosed} ref={modalizeRef} onPositionChange={onPositionChange} HeaderComponent={headerComponent} handleStyle={{ backgroundColor: 'rgba(128,42,134,0.5)', width: 48, height: 6, }} velocity={Platform.OS === 'android' ? '800' : '500'} FloatingComponent={FooterComponent} panGestureComponentEnabled={false} // openAnimationConfig={timing:{duration:200}} panGestureEnabled={true} dragToss={Platform.OS === 'android' ? '0.01' : '0.04'}> `
Dependencies:
- "react-native-modalize": "^2.0.13"
- "react-native": "0.63.4"
- "react-native-gesture-handler": "^1.9.0"
- "react-native-gesture-handler": "^1.9.0"
+1
+2