<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu" -->

---
title: Did users swipe down mid-request and cause partial saves?
description: A bug report describing a race condition in an iOS sheet-based UI where users could swipe down to dismiss a bottom sheet while a save task was still running....
canonical: https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Did users swipe down mid-request and cause partial saves? | daily.dev
og:description: A bug report describing a race condition in an iOS sheet-based UI where users could swipe down to dismiss a bottom sheet while a save task was still running....
og:url: https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu
og:image: https://api.daily.dev/og/posts/YNd48nMQu.png
og:image:alt: Did users swipe down mid-request and cause partial saves?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Did users swipe down mid-request and cause partial saves?

**[Rebeloper](https://daily.dev/sources/rebeloper)** · 1 min read · 0 upvotes · 0 comments

## Summary

A bug report describing a race condition in an iOS sheet-based UI where users could swipe down to dismiss a bottom sheet while a save task was still running. The task completed after the UI was dismissed, causing partial state mutations and inconsistent data on next open. The fix involved disabling interactive dismissal during the saving phase and cancelling the in-flight task when the view disappears.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=iMmwcOvAZ5Y>

## Similar posts on daily.dev

- [I Throttled My App to Slow 3G. Here's What My Tests Never Caught](https://daily.dev/posts/i-throttled-my-app-to-slow-3g-here-s-what-my-tests-never-caught-uouttd8gb) · DEV · 1 upvotes · 0 comments
- [When Every Data Write Comes at a New Price -- Fatbobman's Swift Weekly \#144](https://daily.dev/posts/when-every-data-write-comes-at-a-new-price----fatbobman-s-swift-weekly-144-dkxgeo2ld) · Fatbobman · 0 upvotes · 0 comments

---

Tags: [#mobile](https://daily.dev/tags/mobile), [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Did users swipe down mid-request and cause partial saves?","url":"https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu"},"datePublished":"2026-02-22T11:24:41.017Z","dateModified":"2026-02-22T11:24:56.879Z","description":"A bug report describing a race condition in an iOS sheet-based UI where users could swipe down to dismiss a bottom sheet while a save task was still running....","image":"https://i.ytimg.com/vi/iMmwcOvAZ5Y/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/iMmwcOvAZ5Y/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Rebeloper","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Rebeloper","logo":"https://media.daily.dev/image/upload/s--W0sZL8K4--/f_auto/v1726990075/logos/rebeloper","url":"https://daily.dev/sources/rebeloper"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/did-users-swipe-down-mid-request-and-cause-partial-saves--ynd48nmqu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mobile,ios,swift","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"Did users swipe down mid-request and cause partial saves?","description":"A bug report describing a race condition in an iOS sheet-based UI where users could swipe down to dismiss a bottom sheet while a save task was still running....","thumbnailUrl":"https://i.ytimg.com/vi/iMmwcOvAZ5Y/sddefault.jpg","uploadDate":"2026-02-22T11:24:41.017Z","duration":"PT1M","url":"https://api.daily.dev/r/YNd48nMQu","embedUrl":"https://www.youtube.com/embed/iMmwcOvAZ5Y"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Rebeloper","item":"https://daily.dev/sources/rebeloper"},{"@type":"ListItem","position":3,"name":"Did users swipe down mid-request and cause partial saves?"}]}
```

