Skip to content

[pull] main from expo:main#588

Merged
pull[bot] merged 1 commit intocode:mainfrom
expo:main
Feb 13, 2026
Merged

[pull] main from expo:main#588
pull[bot] merged 1 commit intocode:mainfrom
expo:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 13, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…#43071)

# Why

When the preview animation started, but user released the press quick
enough, react-native would recognize the `onPress` event and the
navigation would happen immediatly.

## before



https://github.com/user-attachments/assets/52a7356b-664d-45e9-8c0f-3b587ee5107f



## after


https://github.com/user-attachments/assets/b72f62db-da7d-4d79-8b5b-048e2664bb1c



# How

1. Add a ref to disable onPress events when preview is opening

# Test Plan

1. Press the link until you feel haptic feedback
2. Release

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
@pull pull bot locked and limited conversation to collaborators Feb 13, 2026
@pull pull bot added the ⤵️ pull label Feb 13, 2026
@pull pull bot merged commit f9d1ad6 into code:main Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments