react-native-modalize icon indicating copy to clipboard operation
react-native-modalize copied to clipboard

Dynamic values are not assigned as snappoint value

Open KalanaPallemulla opened this issue 3 years ago • 2 comments

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"

KalanaPallemulla avatar Jan 26 '22 02:01 KalanaPallemulla

+1

Marcuspo avatar Mar 01 '22 14:03 Marcuspo

+2

walter-ayala avatar Oct 26 '23 21:10 walter-ayala