mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "iOS: 6/7 JS only. Remove logic for visible prop in JS, and pass it to native"
Summary: Changelog: [Internal] back out D28138741 (https://github.com/facebook/react-native/commit/40706e0546a5dccb5ef0944023dea2c32d8b46b3) Differential Revision: D28709374 fbshipit-source-id: c7085588ab4573c0ca18a2324f8e1ed40384753c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0ee8e292a4
commit
34b8d07bfb
@@ -219,7 +219,7 @@ class Modal extends React.Component<Props> {
|
||||
}
|
||||
|
||||
render(): React.Node {
|
||||
if (Platform.OS !== 'ios' && this.props.visible !== true) {
|
||||
if (this.props.visible !== true) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user