react-native-simple-modal icon indicating copy to clipboard operation
react-native-simple-modal copied to clipboard

modalWillOpen and modalWillClose events

Open SuhairZain opened this issue 6 years ago • 0 comments

Hi, The component has only modalDidOpen and modalDidClose events. Was there any reason to not have modalWillOpen and modalWillClose events? These are useful in some cases.

Also, what about adding events when the scale in animation has completed? This could be useful in cases where we need to calculate the layout/positions of elements within the Modal. We cannot use the modalDidOpen event for this purpose since it's called when the fade in is completed, not the scale.

SuhairZain avatar Mar 05 '18 04:03 SuhairZain