react-native-actions-sheet icon indicating copy to clipboard operation
react-native-actions-sheet copied to clipboard

Closing animation not working when closing

Open orhangazi opened this issue 2 years ago • 2 comments

Thank you develop this Action Sheet. I am showing with SheetManager.show("MessageTypes"). It is working perfectly. But when I closed with SheetManager.hide("MessageTypes") function in the ActionSheet element, not working animations. It is closing suddenly.

codes:

<ActionSheet
			id={props.sheetId}
			statusBarTranslucent={false}
			drawUnderStatusBar={false}
			gestureEnabled={true}
			springOffset={50}
			defaultOverlayOpacity={0.3}
			containerStyle={{
				padding: 15,
			}}
		>
			<View>
				<TouchableOpacity style={{...styles.messageTypeRow, borderTopWidth: 0.5, borderColor: ULAK_COLORS.blueDark}} activeOpacity={0.8} onPress={()=>{
					props.setMessageTypeIdSendingMessage(1)
					SheetManager.hide("MessageTypes")
					}}>
					<View>
						<MaterialCommunityIcons name="message-text-outline" size={48} color={ULAK_COLORS.blueDark} />
					</View>
					<View style={{...styles.description}}>
						<Text style={{fontWeight: "bold"}}>Normal Mesaj</Text>
						<Text style={{color: "#232323"}}>Normal mesajlaşma şeklidir.</Text>
					</View>
				</TouchableOpacity>
			</View>
</ActionSheet>

orhangazi avatar Oct 28 '22 22:10 orhangazi

+1

nopicat avatar Jan 07 '23 22:01 nopicat

+1

asevims avatar Jan 21 '24 01:01 asevims