I'm facing an issue with stacknavigator in an expo app while trying to open a modal from it.
When the modal is placed on the body of the app, everything works perfectly with no issues. However, if the modal is launched from a stack screen, most of the view is missing. Upon inspection, I noticed that the content is present and clickable, but not visible on the screen.
I have included a screenshot to illustrate what I am experiencing.
The code for both scenarios remains the same.
This is how I implemented the modal within the stack:
(Code snippet)
I have also attached screenshots to showcase the expected layout and the issue encountered:
Screenshot showing missing view when opened from the stack screen