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

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?




Replies 0 (0)