Shopify/polaris

Page 'backAction' does not support navigating to Shopify admin

Opened this issue · 2 comments

Summary

The 'Page' component's 'backAction' is a 'LinkAction' or a 'CallbackAction'. Neither supports a target property.

Our app uses an admin link extension on the product details page. We want to be able to provide a link back to the product page from our app page. However, in order to navigate back to a Shopify admin page, we need to specify a target of '_top'. This is not possible for 'backAction'.

The request is for adding a 'target?' property here, like there is for 'LoadableAction' and 'DisableableAction'.

Rationale

No response

Same here. Is there a workaround?

same her