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 · 0 comments
Open

[BUG] Popup does not appear #174

francescoleoni98 opened this issue Jan 29, 2025 · 0 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

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

2 participants