-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Popover cuts off .hud
alert
#64
Comments
This is most likely due to an implementation decision to reference the device's full screen bounds when positioning the toast instead of the presented view's bounds, so it can't take into account anything like sheets or title bars. As far as I know, to fix this you'd need to use an anchor/root view to handle all toast requests, I may work on a PR for this if I get time or fork it off into a separate library. |
Hi, I checked out your package to test out if the sheet issue is fixed (AlertToast not completely visible when the view is shown as a sheet) but when I added the .toast modifier on the NavigationStack, it doesn't display it at all. |
Describe the bug
Using
.hud
in a popover causes the top of it to be cut off.To Reproduce
Expected behaviour
The toast to be visible.
Screenshots
The text was updated successfully, but these errors were encountered: