react-native-macos/Libraries/Modal
Koichi Nagaoka d85d5d2e19 Fix cannot working Modal's onDismiss. (#29882)
Summary:
Fixes: https://github.com/facebook/react-native/issues/29455

Modal's onDismiss is not called on iOS.
This issue occurred the commit bd2b7d6c03 and was fixed the commit 27a3248a3b.
However, the master and stable-0.63 branches do not have this modified commit applied to them.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Fixed] - Modal's onDismiss prop will now be called successfully.

Pull Request resolved: https://github.com/facebook/react-native/pull/29882

Test Plan:
Tested on iOS with this change:

1. Set function Modal's onDismiss prop.
1. Set Modal's visible props is true. (show Modal)
1. Set Modal's visible props is false. (close Modal)
1. The set function in onDismiss is called.

Reviewed By: shergin

Differential Revision: D24648412

Pulled By: hramos

fbshipit-source-id: acf28fef21420117c845d3aed97e47b5dd4e9390
2020-11-13 23:56:09 -08:00
..
__tests__ Correctly mock all components by setting the displayName 2020-07-28 13:09:06 -07:00
Modal.js Fix cannot working Modal's onDismiss. (#29882) 2020-11-13 23:56:09 -08:00
NativeModalManager.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
RCTModalHostViewNativeComponent.js Fix cannot working Modal's onDismiss. (#29882) 2020-11-13 23:56:09 -08:00