This works on iOS but fails in web. Is there another way I can have children be grown /…
- User
This works on iOS but fails in web. Is there another way I can have children be grown / shrunk?
<TouchableOpacity onPressIn={zoomIn} onPressOut={zoomOut} onPress={onPress} style={{ transform: [{ scale: fadeAnim }], flex: 1 }}>
- Assistant
The issue you're encountering could be due to differences in how scaling animations are handled between iOS and web in React Native. The
scaletransform property and animations can sometimes behave differently across platforms.