Present different Sheets on mount #453
Replies: 3 comments
-
|
@PhilipGrefe try creating a repro with your use-case and I'll take a look |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hey @lodev09, I've created a repo here. In this repo, I try to control the sheets with a coordinator hook. However, as said I'm open to any suggestion to handle the presentation of multiple sheets on mount. Steps to reproduce:
Expected Result: TrueSheet opens with notification permission Actual Result:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
(not relevant any more, and I like to keep a clean repo) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Imagine you have to decide on startup or background/foreground what sheet to present.
Could you please give general advise for a presentation/navigation pattern?
I have the following sheets:
The permissions are monitored via hooks. I have tried using useEffect with present and dismissAll to decide what sheet to show, but have trouble that sheets are not yet mounted or onMount is not firing (
No coordinator layout available. Ensure the sheet is mounted before presenting.).Tried with v3.7.3 and 3.8.0-beta.0.
Beta Was this translation helpful? Give feedback.
All reactions