Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for Modal on iOS when Fabric is enabled #17

Closed
wants to merge 1 commit into from

Conversation

gabrieldonadel
Copy link
Owner

@gabrieldonadel gabrieldonadel commented Aug 23, 2022

Summary

While working on a fix for https://github.com/facebook/react-native/issues/ 29974 ( I have a draft for that already (https://github.com/gabrieldonadel/react-native/pull/ 16), just waiting for https://github.com/facebook/react-native/pull/ 34406 to get merged ) I noticed that the KeyboardAvoidingView tests on RNTester on iOS were not working with Fabric enabled because ModalHostView component was still not implemented. Upon some more investigation, I found this code suggestion from Milker90 (https://github.com/facebook/react-native/issues/ 33652#issuecomment-1214675790) that enables the Modal component on iOS when Fabric is enabled.

Closes https://github.com/facebook/react-native/issues/ 33652

Changelog

[iOS] [Added] - Add support for Modal on iOS when Fabric is enabled

Test Plan

  1. Open the RNTester app and navigate to the Modal page
  2. Test the Modal component through the sections changing props
Screen.Recording.2022-08-23.at.21.29.51.mov

@gabrieldonadel gabrieldonadel changed the title Feat/add modal host view feat: Add support for Modal on iOS when Fabric is enabled Aug 23, 2022
@gabrieldonadel gabrieldonadel self-assigned this Aug 24, 2022
@gabrieldonadel
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant