Skip to content

Commit 2b517db

Browse files
authored
Merge pull request Expensify#86701 from Expensify/revert-86160-claude-fixPressabilityNewArch-v3
[CP staging] Revert "fix: android pressability issue with measureAsyncOnUI patch"
2 parents 6e4c5e0 + 524982f commit 2b517db

6 files changed

Lines changed: 36 additions & 601 deletions

File tree

patches/react-native/details.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,3 @@
252252
- Upstream PR/issue: 🛑
253253
- E/App issue: https://github.com/Expensify/App/issues/85877
254254
- PR introducing patch: 🛑
255-
256-
### [react-native+0.83.1+034+fix-pressability-new-arch.patch](react-native+0.83.1+034+fix-pressability-new-arch.patch)
257-
258-
- Reason: Fixes an Android-specific issue (reproducible on certain Samsung models) where `onPress` events do not trigger for `Pressable` components when used inside a `Tooltip`. The root cause is that in the new architecture, `Pressability.measure()` reads stale layout information from the shadow tree instead of the actual native view hierarchy. This patch introduces a new `measureAsyncOnUI` method that measures the view asynchronously using the native layout hierarchy on the UI thread, bypassing stale shadow tree data.
259-
- Upstream PR/issue: [facebook/react-native#51835](https://github.com/facebook/react-native/pull/51835)
260-
- E/App issue: [#59953](https://github.com/Expensify/App/issues/59953)

0 commit comments

Comments
 (0)