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
Ember apps with a rootURL can't load images for the Google Pay button because the button's background-image url doesn't account for rootURL. Here is an example on ember-square-payment-form's homepage, reproducible by enabling Google Pay with Ember Inspector.
At the moment, ember-square-payment-form uses treeForPublic to put the images in the consuming Ember app's public folder under /assets/square-payment-form-images, which is the URL path prefix for the Google Pay button background images.
My temporary workaround is to add a class to the Google Pay button that applies the correct image url.
The text was updated successfully, but these errors were encountered:
Ember apps with a
rootURL
can't load images for the Google Pay button because the button'sbackground-image
url doesn't account forrootURL
. Here is an example onember-square-payment-form
's homepage, reproducible by enabling Google Pay with Ember Inspector.At the moment,
ember-square-payment-form
usestreeForPublic
to put the images in the consuming Ember app's public folder under/assets/square-payment-form-images
, which is the URL path prefix for the Google Pay button background images.My temporary workaround is to add a class to the Google Pay button that applies the correct image url.
The text was updated successfully, but these errors were encountered: