-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix iOS 26.1 LoopStatusView Detent Issue #821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I don’t think we need to provide any fixes or support, or introduce code changes for users running unreleased beta-type iOS versions. If this persists to be an issue in an upcoming official release of iOS, this becomes a different thing. Until then, I‘d not do any changes. |
t1dude
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's point affected users to this PR, but I agree that we should wait and see if this issue still exists when 26.1 is released.
|
I just installed the iOS 26.1 Release Candidate (23B82) and this is still an issue, so looks like we'll need that more elegant solution eventually, and this temporary patch-job if another solution is not found before 26.1 is officially released. |
|
Updated it a bit. Now,
detent.mov |
dnzxy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this about as good as it will get for now.
I have been trying various things to enforce a rerendering of the sheet once content detent height can properly be calculated by the GeometricReader but it seems like it’s not doing what it should on iOS 18.x and iOS 26 (26.0.1 nor 26.1).
Let’s get this in for now :)
|
Is working just like @MikePlante1 posted! |
|
Big heaps of thanks, @MikePlante1 ! 🙏 |

There was a change (or bug?) in the iOS 26.1 Beta which broke the LoopStatusView from expanding to be viewable. Xcode says "Invalid sheet detent height: 0.0".
The hardcoded 90% does not look as good as when the View is working properly (like on the latest public release of iOS — 26.0.1) since it hides more of the screen and has an awkward gap below the Got It button, but since this PR just forces a 90% detent if the detent height is 0, users that aren't experience this problem won't be affected.
Once iOS 26.1 is officially released, if it's still falling back to the 90% version we should look into a more elegant solution.