Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Contextual Save Bar + Page onAction redirect.dispatch breaks when browsing using the Back button

Contextual Save Bar + Page onAction redirect.dispatch breaks when browsing using the Back button

zad1
Shopify Partner
1 0 0

 

We have implemented the Contextual Save Bar in our application. 

 

However, we are seeing behaviour where using the Back button (or window.history.back()) in the browser would then break the previous navigated Page onAction redirect.dispatch(Redirect.Action.APP, `path`) . It doesn't throw an error but doesn't navigate to the path. 

 

Has anyone run into this issue ? 

What's the workaround?

 

Thanks,

 

Replies 0 (0)