Replies: 2 comments
-
Hi @bradhowes, I may be misunderstanding what you are describing, but the screenshot you shared is a confirmation dialog on iPad. They are rendered as popovers on iPad. Can you explain a bit more about what you think is wrong in the screenshot? Have you tried creating a confirmation dialog in vanilla SwiftUI to confirm what it looks like? Since I don't believe this is an issue with the library I am going to convert it to a discussion. Feel free to continue the conversation over there. |
Beta Was this translation helpful? Give feedback.
-
@mbrandonw IMO the behavior is confusing -- there are two buttons in the confirmation dialog definition, but only one is shown. However, if you attach the ".confirmationDialog(...)" to the "Confirmation Dialog" button instead of the form, you get what I consider proper behavior. ![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
In the "Case Studies > Alerts & Dialogs" form, clicking on "Confirmation Dialog" should show a confirmation sheet when run on iPad, but it instead shows a truncated popup:
Checklist
main
branch of this package.Expected behavior
Similar/same behavior should be encountered on iPad as seen on iPhone.
Actual behavior
See picture above
Steps to reproduce
The Composable Architecture version information
fb5159e
Destination operating system
iOS 17.5
Xcode version information
Version 15.4 (15F31d)
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions