Mijick / PopupView

Popups presentation made simple (SwiftUI)
MIT License
1.08k stars 42 forks source link

Feature request: Add an option to not apply gray background on top and bottom popup #56

Closed gpfister-oskey closed 8 months ago

gpfister-oskey commented 9 months ago

Hello,

Thank you for the great package. Would it be possible to add an option to not gray the background (on top or bottom popup) so that they can be use as toast.

FulcrumOne commented 8 months ago

Hey!

Thank you very much for your comment. The feature has been implemented in the latest patch. Here is a code sample for presenting the popup an overlay:

BottomPopup_FileAdded()
    .showAndStack()
    .hideOverlay()

Feel free to write other ideas, I'm open to new propositions :)

PS. You can find more SwiftUI packages here - https://github.com/Mijick, and the list is still growing.

Have a great day, T.K.