Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout & Customer Accounts — Image does not render cornerRadius #2455

Open
kpeatt opened this issue Nov 5, 2024 · 1 comment
Open

Checkout & Customer Accounts — Image does not render cornerRadius #2455

kpeatt opened this issue Nov 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kpeatt
Copy link

kpeatt commented Nov 5, 2024

Please list the package(s) involved in the issue, and include the version you are using

@shopify/ui-extensions-react

Describe the bug

The Image component API says it takes cornerRadius but doesn't render a corner radius.

Steps to reproduce the behavior:

  1. Add an image like <Image src="'https://images.unsplash.com/photo-1479030160180-b1860951d696?&auto=format&fit=crop&w=1200&h=800&q=80' cornerRadius={'base'} />
  2. Look at the image
  3. Don't cut yourself on its sharp corners.

Expected behavior

Either the API docs don't have cornerRadius or the Image renders them properly.

Screenshots

Image

Rendered on Order Status from:
<Image border={'base'} cornerRadius={'base'} source={ 'https://images.unsplash.com/photo-1479030160180-b1860951d696?&auto=format&fit=crop&w=1200&h=800&q=80' } />

@kpeatt kpeatt added the bug Something isn't working label Nov 5, 2024
@kpeatt
Copy link
Author

kpeatt commented Nov 5, 2024

@lemonmade cuz you told me to ping you on these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant