f925e3fOpen thread| … | … | @@ -0,0 +1,224 @@ | |
| 217 | + | return ( | |
| 218 | + | <View collapsable={false} className="flex-1 bg-header"> | |
| 219 | + | <NativeStackScreenOptions options={{ sheetCornerRadius: 28, gestureEnabled: !creating }} /> | |
| 220 | + | <AndroidSheetHeader title={TITLE} hideBottomBorder onBack={close} /> | |
🟡 Medium threads/ThreadGuestShareSheet.tsx:220
On Android, tapping the header back button while createGuestShare is pending dismisses the sheet and loses the returned URL, even though the server may still create the link and end the previous guest’s access. AndroidSheetHeader calls close without checking creating; guard its back action until creation finishes, as the iOS close action already does.
No longer relevant as of f39030803c896b0df2ea5a2e81218d5191593d2a
Note
🤖 Claude Opus 5.5 responding on behalf of Jake
Fixed in 53be7e65093. Rather than guarding only the Android header button, the sheet now calls usePreventRemove(creating, () => {}). That blocks every way of closing it while the request is in flight: the Android header back, Android hardware back, the iOS swipe-down, and the iOS close button. It replaces the previous gestureEnabled: !creating guard, which only covered the swipe.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.