maxs15 / react-native-modalbox

A <Modal/> component for react-native
MIT License
2.9k stars 504 forks source link

fix/dynamic-height-issue #359

Open AdityaPahilwani opened 2 years ago

AdityaPahilwani commented 2 years ago

Currently if modal is open state and there is a content layout change, it doesn't readjust itself because of which the content looks chopped.

This PR solves this link, whenever there is a layout change we animate the content to a new Pos and also maintain that onOpened prop callback is not fired again

ngondat97 commented 2 years ago

@maxs15 pls merge

RongDuJiKsp commented 9 months ago

@maxs15 merge this pleaseeeeeeeeee