You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Track Distance - Unable to Drag and drop any stop in the Expense #91903
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
No JavaScript code in the drag-and-drop chain was modified between production (9.3.83-3) and staging (9.3.84-0). The drag mechanism flows: PressableWithSecondaryInteraction maps onSecondaryInteraction to onLongPress on iOS → long-press fires the drag() callback from react-native-draggable-flatlist → DraggableList delegates to DraggableFlatList which uses GestureDetector (pan gesture) for reordering. All components in this chain are byte-identical between the two versions.
The two candidate changes that could cause this iOS-only regression are:
React Native deadlock fix patch (react-native+0.83.1+037+fix-deadlock-APP-7B2.patch) — Moves a unique_lock in Fabric's ComponentDescriptorRegistry::add() to after descriptor construction. This introduces a window where the component registry can be read while a new descriptor is being constructed but not yet inserted. If a gesture-handler component descriptor (e.g. RNGestureHandlerButton) is lazily registered and the gesture setup reads the registry before insertion completes, gesture recognition could silently fail.
Mobile-Expensify submodule update (f4cb930c292 → 4205783c3b2) — iOS builds originate from Mobile-Expensify. Any changes to iOS build configuration, Podfile, or native modules in the submodule could directly affect gesture handling. This is opaque from the App repo side.
No other changes between the versions touch gesture handling, drag-and-drop, Pressable components, or the distance/waypoint flow.
What changes do you think we should make in order to solve the problem?
To identify the exact cause:
Inspect the Mobile-Expensify submodule diff between f4cb930c292 and 4205783c3b2 for any iOS-specific changes (Podfile, native modules, build settings).
Test reverting the deadlock fix patch (037) on a staging build to see if drag-and-drop is restored.
Add diagnostic logging in PressableWithSecondaryInteraction/index.native.tsx:53 to determine whether onLongPress fires at all — this will isolate whether the break is in the touch/press system (Pressability) or in the gesture-handler pan tracking.
Verify on Android staging — if Android works, it confirms the issue is iOS Fabric-specific (pointing to the deadlock patch or submodule).
What alternative solutions did you explore? (Optional)
Investigated and ruled out:
FullStory babel plugin — Same version (^1.6.4) in both production and staging
Dependency version changes — package-lock.json shows no version changes for react-native-gesture-handler, react-native-draggable-flatlist, or react-native-reanimated
JS code changes — Exhaustive diff confirms zero changes to any file in the drag chain (DraggableList, DistanceMapTabContent, DistanceRequestRenderItem, PressableWithSecondaryInteraction, MenuItem)
Existing Pressability patch (035, present in BOTH versions):
A pre-existing patch at react-native+0.83.1+035+fix-pressability-new-arch.patch modifies Pressability._measure for Fabric. While not the regression cause (present in both versions), it represents a fragility point that could interact with the deadlock fix patch.
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
Activity
applause-bot commentedon May 27, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/cb6a904f31d7caf5b90d2268e11282c6f5b6e4c5dfe89ba457fe04deb6604e54
melvin-bot commentedon May 27, 2026
Triggered auto assignment to @nkuoch (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon May 27, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon May 27, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
MelvinBot commentedon May 27, 2026
Proposal
What is the root cause of that problem?
No JavaScript code in the drag-and-drop chain was modified between production (9.3.83-3) and staging (9.3.84-0). The drag mechanism flows:
PressableWithSecondaryInteractionmapsonSecondaryInteractiontoonLongPresson iOS → long-press fires thedrag()callback fromreact-native-draggable-flatlist→DraggableListdelegates toDraggableFlatListwhich usesGestureDetector(pan gesture) for reordering. All components in this chain are byte-identical between the two versions.The two candidate changes that could cause this iOS-only regression are:
React Native deadlock fix patch (
react-native+0.83.1+037+fix-deadlock-APP-7B2.patch) — Moves aunique_lockin Fabric'sComponentDescriptorRegistry::add()to after descriptor construction. This introduces a window where the component registry can be read while a new descriptor is being constructed but not yet inserted. If a gesture-handler component descriptor (e.g.RNGestureHandlerButton) is lazily registered and the gesture setup reads the registry before insertion completes, gesture recognition could silently fail.Mobile-Expensify submodule update (
f4cb930c292→4205783c3b2) — iOS builds originate from Mobile-Expensify. Any changes to iOS build configuration, Podfile, or native modules in the submodule could directly affect gesture handling. This is opaque from the App repo side.No other changes between the versions touch gesture handling, drag-and-drop, Pressable components, or the distance/waypoint flow.
What changes do you think we should make in order to solve the problem?
To identify the exact cause:
f4cb930c292and4205783c3b2for any iOS-specific changes (Podfile, native modules, build settings).PressableWithSecondaryInteraction/index.native.tsx:53to determine whetheronLongPressfires at all — this will isolate whether the break is in the touch/press system (Pressability) or in the gesture-handler pan tracking.What alternative solutions did you explore? (Optional)
Investigated and ruled out:
^1.6.4) in both production and stagingpackage-lock.jsonshows no version changes forreact-native-gesture-handler,react-native-draggable-flatlist, orreact-native-reanimatedDraggableList,DistanceMapTabContent,DistanceRequestRenderItem,PressableWithSecondaryInteraction,MenuItem)Investigation details
Drag mechanism (unchanged between versions):
DistanceMapTabContent.tsx:86-91rendersDraggableListwith waypoint items andonDragEnd={updateWaypoints}IOURequestStepDistance.tsx:630-643passesdragasonSecondaryInteractiontoDistanceRequestRenderItemDistanceRequestRenderItem.tsx:71passes it toMenuItemWithTopDescriptionDraggableList/index.native.tsxdelegates toreact-native-draggable-flatlistChanges between 9.3.83-3 and 9.3.84-0 (78 commits):
Existing Pressability patch (035, present in BOTH versions):
A pre-existing patch at
react-native+0.83.1+035+fix-pressability-new-arch.patchmodifiesPressability._measurefor Fabric. While not the regression cause (present in both versions), it represents a fragility point that could interact with the deadlock fix patch.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.IuliiaHerets commentedon May 28, 2026
Reproduced on iPhone 12/iOS 26.5/Build 9.3.84-1
f2f056ae-b0df-49f4-b010-b8fcd63eddef.mp4
IuliiaHerets commentedon May 28, 2026
issue still reproducible using build 88-0
ScreenRecording_05-28-2026.21-04-03_1.MP4
mountiny commentedon May 28, 2026
Fixed in 88-2