Open vishaljnimblechapps opened 3 weeks ago
@vishaljnimblechapps Try to wrap your modal content with useMemo
const Content = useMemo(
() =>
// gestureHandlerRootHOC to work properly on Android
gestureHandlerRootHOC(() => (
<View>
.....
</View>
)),
[]
);
return (
<Modal>
<Content />
</Modal>
)
This Caused re-render in android when use with modal. Please see attach video.
https://github.com/user-attachments/assets/115b7d3a-635d-47c7-b2ed-cfd16634578f