Commit 9ac437f
feat: Add support for Modal on iOS when Fabric is enabled (facebook#34487)
Summary:
While working on a fix for facebook#29974 (I have a draft for that already (gabrieldonadel#16), just waiting for facebook#34406 to get merged) I noticed that the `KeyboardAvoidingView` tests on RNTester on iOS were not working with Fabric enabled because the `ModalHostView` component was still not implemented. Upon some more investigation, I found this code suggestion from Milker90 (facebook#33652 (comment)) that enables the Modal component on iOS when Fabric is enabled.
Closes facebook#33652
## Changelog
[iOS] [Added] - Add support for Modal on iOS when Fabric is enabled
Pull Request resolved: facebook#34487
Test Plan:
1. With Fabric enabled open the RNTester app and navigate to the Modal page
2. Test the `Modal` component through the sections changing props
https://user-images.githubusercontent.com/11707729/186289099-5223907d-b300-46bf-bfde-73259c29d544.mov
Reviewed By: christophpurrer
Differential Revision: D38981895
Pulled By: cipolleschi
fbshipit-source-id: cd493a8d2035900da2576323bc112e2565df48341 parent 2452c5f commit 9ac437f
File tree
2 files changed
+2
-0
lines changed- React/Fabric/Mounting/ComponentViews
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments