Replies: 1 comment 2 replies
-
It's up to you. You can do that if you want. Just treat the sheet as a standard view container. It will still be up to your content/views that may cause performance issue -- not the sheet itself. On my case, I have a wrapper component for TrueSheet and I'm only rendering it when the screen is shown (react-navigation). See this guide for reference. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm questioning myself whether unmounting the component when it is hidden could be useful. I mean, in some cases I would like to achieve a stateless behaviour or simply use a single Portal to render the current active bottom sheet.
I tested that If I use two or more bottom sheet with the same Portal, only the last one is displayed in the view.
What do you think about?
Beta Was this translation helpful? Give feedback.
All reactions