This PR modifies the component ordering within VisitableView.tsx to ensure that the Error and Loading components are displayed in front of RNVisitableView. This change addresses an issue observed during navigation away from a screen that has encountered an error. Previously, the error view was momentarily hidden during the back navigation transition (this was especially visible on Android). With this adjustment, the error view maintains its visibility throughout the entire transition.
Test plan
Made sure that Error component is being shown when navigating back.
Summary
This PR modifies the component ordering within
VisitableView.tsx
to ensure that theError
andLoading
components are displayed in front ofRNVisitableView
. This change addresses an issue observed during navigation away from a screen that has encountered an error. Previously, the error view was momentarily hidden during the back navigation transition (this was especially visible on Android). With this adjustment, the error view maintains its visibility throughout the entire transition.Test plan
Made sure that
Error
component is being shown when navigating back.