Closed mvolonnino closed 4 weeks ago
Thank you for the detailed issue, will be checking if I can expand the capture tree
can you try 0.8.0
release
and then do this
switchTheme({
switchThemeFunction: () => {
set({ colorMode });
Appearance.setColorScheme(colorMode === 'system' ? null : colorMode);
},
animationConfig: {
type: 'fade',
duration: 400,
captureType: 'hierarchy' -> add this
},
});
https://github.com/user-attachments/assets/01dfa852-2838-4bab-9f5d-619dd684644e
https://github.com/user-attachments/assets/ef7f36a1-1197-4aba-90ef-838eb0a24302
Code sample:
If i remove the
modal
and make it an inline component (modal meaning that it appears above the bottom tabs as you can see) then it works as expected and the modal doesnt disappear.Im thinking it has something to do with how Tamagui (react native) renders a modal/hierarchy
Let me know if you have any ideas.
Here are deps: