-
Notifications
You must be signed in to change notification settings - Fork 270
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
Toast is hidden by Popover #204
Comments
Hey @saff1x, opaque popup is just a fullscreen cover, I can't control what it covers. Apple also doesn't give me any way to place any custom views above the system views like sheets, popovers and navbar, so no control there either. If you know of a way to bypass that restriction, you are most welcome to commit a PR. Have a nice day |
I found a workaround based on this article: https://www.fivestars.blog/articles/swiftui-windows/ Not really sure what its doing and its probably not the best solution but it works for me. Hope it helps
And then added this in the iosApp file:
|
@saff1x are you able to use buttons within your toast? I am using the same approach, however I am unable to get Buttons. I think the I do get the |
Hi, I want to use a toast to display error messages in my app (The toast should be at the bottom of the screen). However i noticed that when using a native .popover screen, the toast is below the popover and can't be seen. I tried using the .isOpaque(true) modifier, however that just closes the popover, which is not what I want. Is there any way to fix this? Thanks in advance.
The text was updated successfully, but these errors were encountered: