mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
iOS: 2/5 Remove use of bridge from Modal by dismissing with visible prop
Summary: Changelog: [Fabric][iOS][Fix] Remove use of bridge from Modal by dismissing Modal with visible prop Reviewed By: sammy-SC Differential Revision: D28074326 fbshipit-source-id: 0278bfb031db802b59429c553ac62d83838f4cc9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3c17922c35
commit
0932a0d775
@@ -91,6 +91,12 @@ public class ReactModalHostManager extends ViewGroupManager<ReactModalHostView>
|
||||
view.setHardwareAccelerated(hardwareAccelerated);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ReactProp(name = "visible")
|
||||
public void setVisible(ReactModalHostView view, boolean visible) {
|
||||
// iOS only
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPresentationStyle(ReactModalHostView view, @Nullable String value) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user