I have an Ionic 5 React app that I'm running as a webapp on my server and on iOS.
When I access the webapp via a browser, the page transitions are fine.
But on iOS, they are extremely choppy-- I am seeing half the animation, a blank screen for about half a second, and then the new page loads.
After some time passes, sometimes page transitions become normal; sometimes they don't. This only happens on iOS devices and I haven't been able to identify the cause.
What could be going wrong?
Here's my router:
const appBasePath = '/webapp/';
<IonReactRouter>
<AppUrlListener />
<IonRouterOutlet>
<Route exact path={`${appBasePath}index.html`}>
<Redirect to={appBasePath} />
</Route>
<Route exact path={routePageIndex}>
<PageDisplayIndex />
</Route>
<Route exact path={routePagePrivacyPolicy}>
<PageDisplayPrivacyPolicy />
</Route>
<Route exact path={appBasePath}>
<UserAuthenticationZone setHasLoginToken={setHasLoginToken} />
</Route>
<Route>
<Redirect to={appBasePath} />
</Route>
</IonRouterOutlet>
</IonReactRouter>