-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
using Modal results in a red box error #5966
Comments
Dupe of #2989 |
Yep, this is not yet implemented. |
is there an update on Modal being implemented for windows apps? Absolute positioning workaround has not worked for me. |
No updates, although feel free to capture your scenarios in the linked issue above. In general, there are lots of community options for capturing modal scenarios and the built in Modal one has less adoption. Many of those don't have Windows support at the moment (but could). Many people are working around this with the Flyout/Popup options available on RNW. |
Thanks for the reply @chrisglein! I used Flyout as a a workaround but seems like there's an open issue where the full placement doesn't work if there are any Text elements inside. Github issue here: #2969 I'll try the Popup solution, thanks for the rec! |
Environment
Run the following in your terminal and copy the results here.
npx react-native --version
: 4.13.0npx react-native run-windows --info
:reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
A red box appears : requireNativeComponent: RCTModalHostView was not found in the UIManager
Expected Results
Describe what you expected to happen.
A Modal appears
Snack, code example, screenshot, or link to a repository:
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered: