Skip to content
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

[BUG] Popup does not appear #174

Open
francescoleoni98 opened this issue Jan 29, 2025 · 5 comments
Open

[BUG] Popup does not appear #174

francescoleoni98 opened this issue Jan 29, 2025 · 5 comments
Assignees
Labels

Comments

@francescoleoni98
Copy link

Expected Behavior

A popup

Current Behavior

The popup is not visibile. But the view dims.

Code Sample

public struct FeedbackView: CenterPopup {

	public var body: some View {
		Text("Test")
			.padding()
			.background(.red)
	}
}

@main
struct LinkboardApp: App {

        var body: some View {
			NavigationView {
				Button("Tap") {
						Task {
							await FeedbackView().present()
						}
					}
			}
			.registerPopups()
        }
}

Screenshots

Image

SDK 4.0.1
Xcode 16.0 (16A242d)
iOS 18.2
iPhone 12

@BestKai
Copy link

BestKai commented Feb 21, 2025

same error

@JadeGeek
Copy link

@BestKai @FulcrumOne @francescoleoni98
have you guys find a workaround or fixed?

@francescoleoni98
Copy link
Author

@BestKai @FulcrumOne @francescoleoni98
have you guys find a workaround or fixed?

I just built a small popup that serves my minimal needs

@DavidViggiano
Copy link

@BestKai @FulcrumOne @francescoleoni98 have you guys find a workaround or fixed?

The suggested "fix" was to go to an earlier version that worked. 4.0.0 threw an exception, 3.x requires redoing (again) the interface. I am tired of the breaking changes so I gave up. I am using a different library.

@mny459
Copy link

mny459 commented Feb 27, 2025

https://github.com/Mijick/Popups/wiki/Setup Option2 may fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants