Modal like detached view in gorhom and sync question #600
DarkSorrow
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is native IOS behavior, not our control.
Not recommend as this is still asynchronous and will cause lag during sheet resize. You can do it on your end if it works though. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello,
I actually have two distinct question so i thought i'd seperate.
The first one is about some use case i had with gorhom but also the fact that on the ipad gif i somehow see some sort of modal that looked like the "detached" view of the gorhom package (https://gorhom.dev/react-native-bottom-sheet/detach-modal).
But on the documentation i don't see anything related to that. Is it a feature that exist or its not there and there is no plan for this? I don't know if with the current ode behaviour something like this is not too hard or it would create too much work just for this. But i was thinking that having dilog box being able to leverage the same navigationn and such could be nice with all the autosizing somehow already done which brings me to the other question
Autosizing on scrollview and such. I read in the documentation that for scrollview the autosizing wouldn't work until react native has some synchronous UI. I might be completely wrong but isn't there way to leverage the useLayoutEffect? (https://react.dev/reference/react/useLayoutEffect) I'm saying this because i remembered that somehow they presented the new archi as the ability to have sync interaction (https://reactnative.dev/architecture/landing-page#synchronous-layout-and-effects)
So thats about it for my questions. I put them in feature request since its definitely not bugs :p
Beta Was this translation helpful? Give feedback.
All reactions