-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
fix(button): allow any element type to to use the "icon-only" slot #22168
Conversation
Use case: Avatar image (for example @claviska 's |
Thanks for the PR! Could you please provide a code example of the use case in #22168 (comment) that highlights the current issues you are running into with |
Sure, I want to use the component Sample code to my example image from the comment above:
|
Thanks! It sounds like you are mostly interested in ensuring that the ripple effect correctly covers the |
a) the covering would be nice but b) having a round ripple is more important. Right now it's a rectangle. |
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run build
) was run locally and any changes were pushednpm run lint
) has passed locally and any fixes were made for failuresNot sure if this has or needs a test?
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Only
ion-icon
are recognized inside the slots to indicate the button'siconOnly
mode.What is the new behavior?
Any element with
slot='icon-only'
is recognized.Does this introduce a breaking change?