mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
fix: tweak opacity animation for PlatformPressable
This commit is contained in:
@@ -53,7 +53,7 @@ export default function PlatformPressable({
|
||||
};
|
||||
|
||||
const handlePressIn = (e: GestureResponderEvent) => {
|
||||
animateTo(pressOpacity, 150);
|
||||
animateTo(pressOpacity, 0);
|
||||
onPressIn?.(e);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user