react-native-macos/Libraries
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
..
ActionSheetIOS remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
Alert Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
Animated Animated module: don't use random IDs as waiting identifier for queueing 2020-10-26 22:14:25 -07:00
AppState EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00
BatchedBridge improve "not a registered callable module" error message (#28913) 2020-08-13 18:30:38 -07:00
Blob remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
BugReporting EventEmitter: Import `{Native,RCTDevice}EventEmitter` 2020-06-27 02:18:10 -07:00
Components replace defaultProps usage in functional components 2020-11-13 17:07:11 -08:00
Core RN: Remove Android `setTimeout` Warning 2020-11-13 18:07:37 -08:00
DeprecatedPropTypes Deploy Flow v0.136.0 2020-10-18 20:30:55 -07:00
EventEmitter Stop calling RCTNetworking.(add|remove)Listeners? 2020-10-14 21:05:38 -07:00
FBLazyVector remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
FBReactNativeSpec iOS: Generate FBReactNativeSpec ObjC++ files at build time 2020-10-21 20:47:09 -07:00
HeapCapture Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
Image Fix prefetchImageWithMetadata redbox in AMA 2020-11-10 08:39:30 -08:00
Inspector Update PerformanceLogger to nullable timespans, points, extras 2020-09-28 10:53:55 -07:00
Interaction chore: update RNTester example link in PanResponder comment (#30051) 2020-09-30 14:36:59 -07:00
JSInspector Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
LayoutAnimation LayoutAnimations: Allow user-configurable failure function 2020-08-02 16:37:03 -07:00
Linking Fix NativeLinking split 2020-10-15 11:49:19 -07:00
LinkingIOS Split NativeLinking into NativeIntentManager and NativeLinkingManager 2020-10-15 08:49:28 -07:00
Lists Fix nested FlatList not firing onScrollDragEnd and onMomentum methods 2020-11-10 09:08:07 -08:00
LogBox Clean up eager component stack regexes 2020-09-02 10:01:13 -07:00
Modal Fix cannot working Modal's onDismiss. (#29882) 2020-11-13 23:56:09 -08:00
NativeAnimation Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
NativeModules/specs Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
Network Clean up `symbolicateStackTrace` 2020-10-28 03:00:00 -07:00
NewAppScreen move Hermes badge from template to NewAppScreen library (#28783) 2020-07-14 06:29:00 -07:00
Performance Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
PermissionsAndroid Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
Pressability Pressability: Support Lazy Hook Initialization 2020-09-28 17:23:49 -07:00
PushNotificationIOS Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
RCTRequired remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
ReactNative Annotate usedReactFabric in TTRC 2020-10-28 18:45:44 -07:00
ReactPrivate Do not explicitly include ".js" in Library imports (#28311) 2020-03-17 02:11:53 -07:00
Reliability Adding support for boolean annotations for UserFlow@RN 2020-10-16 11:32:22 -07:00
Renderer React Native sync for revisions 454c221...c3e20f1 2020-11-09 14:30:51 -08:00
Settings Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
Share Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
Storage Split NativeAsyncStorage into NativeAsyncLocalStorage and NativeAsyncSQLiteDBStorage 2020-10-15 08:49:28 -07:00
StyleSheet Add type annotations to prevent issues with planned Flow changes 2020-10-09 15:52:21 -07:00
SurfaceBackedComponent Migrate remaining call sites to `CKOverlayLayoutComponent` to Builder 2020-10-20 05:58:21 -07:00
SurfaceHostingComponent Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
Text Text: Setup Rewrite Experiment 2020-10-26 21:19:25 -07:00
TurboModule Remove @react-native/codegen lint ignores 2020-10-26 16:23:03 -07:00
TypeSafety Rewrite ObjC++ module generator 2020-09-29 14:39:40 -07:00
Types mark 'force' as optional property of PressEvent object (#29006) 2020-05-29 17:36:59 -07:00
Utilities Allow specifying custom timestamps in performance logger spans 2020-10-23 07:14:59 -07:00
Vibration remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
WebSocket Update RCTSRWebSocket.m (#29419) 2020-07-28 11:10:14 -07:00
Wrapper Back out "Rename measure to measureContent and pass it LayoutContext" 2020-03-04 05:01:53 -08:00
YellowBox Delete YellowBox 2020-02-21 10:34:40 -08:00
__flowtests__ Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
vendor EventEmitter: Replace `listeners()` with `listenerCount()` 2020-09-03 15:21:11 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
BUCK Codegen BUCK: define codegen entrypoint under react-native-github/Libraries/ for core modules 2020-10-26 22:02:05 -07:00
Promise.js Conditionalize Promise Polyfill for Hermes 2020-10-19 15:24:38 -07:00
UTFSequence.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
promiseRejectionIsError.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
promiseRejectionTrackingOptions.js Conditionalize Promise Polyfill for Hermes 2020-10-19 15:24:38 -07:00