You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The onHide callback of Modal A triggers a React Router navigation to another page where Modal B is opened. This causes conflicts on the Shopify iOS app — Modal A does not close, and Modal B briefly appears before disappearing.
Describe the bug
The
onHide
callback of Modal A triggers a React Router navigation to another page where Modal B is opened. This causes conflicts on the Shopify iOS app — Modal A does not close, and Modal B briefly appears before disappearing.To Reproduce
Expected behaviour
I expect
onHide
to be called only when it is safe to navigate without causing conflicts with a modal on the next page.Contextual information
This issue occurs only on the Shopify iOS app (version 9.2512.0).
Packages and versions
react-router-dom
@7.3.0
@shopify/app-bridge-react
@4.1.7
@shopify/polaris
@13.9.4
Platform
The text was updated successfully, but these errors were encountered: