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
I created a new Shopify app using the template. Whenever I add any Polaris element that uses an anchor element, the links open new tabs instead of the current window. For exampe, adding the following to the default index.jsx page:
<Link url="/pagename">Click me</Link>
results in a link where clicking it opens a new tab instead of it operating on the current window location. This never happened before with AppBridge 3.x. Also the URL it is opening seems to be relative to the backend rails host name. For example, if the current window location is https://admin.shopify.com/store/my-dev-store/apps/test-app, the URL of the new tab is: https://<cloudflare-rails-host-name>/pagename --- so not even relative to the current window location.
Any ideas why this is happening now?
The text was updated successfully, but these errors were encountered:
I created a new Shopify app using the template. Whenever I add any Polaris element that uses an anchor element, the links open new tabs instead of the current window. For exampe, adding the following to the default
index.jsx
page:results in a link where clicking it opens a new tab instead of it operating on the current window location. This never happened before with AppBridge 3.x. Also the URL it is opening seems to be relative to the backend rails host name. For example, if the current window location is
https://admin.shopify.com/store/my-dev-store/apps/test-app
, the URL of the new tab is:https://<cloudflare-rails-host-name>/pagename
--- so not even relative to the current window location.Any ideas why this is happening now?
The text was updated successfully, but these errors were encountered: