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
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