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

How to show in .sheet pages? #1

Closed
xsown opened this issue Mar 27, 2021 · 1 comment
Closed

How to show in .sheet pages? #1

xsown opened this issue Mar 27, 2021 · 1 comment

Comments

@xsown
Copy link

xsown commented Mar 27, 2021

The ContentView is wrapped with JGProgressHUDPresenter and showing some HUDs, presenting a .sheet page (eg.: some PreferencesView) which is also wrapped with another JGProgressHUDPresenter. Calling show() in the sheet page only shows the HUD in the content view, behind the sheet view itself. (observed from Xcode view hierarchy)
Passing the hudCoordinator from ContentView to .sheet(), instead of wrapping .sheet with JGProgressHUDPresenter, does not help.
Any ideas on this? Or is there another (correct) way to show the HUD? Thanks!
(Falling back to use objc JGProgressHUD now)

@JonasGessner
Copy link
Owner

Please post some minimal code that reproduces the issue!

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

No branches or pull requests

2 participants