pointer-events: none;
on icons within buttons?
#626
Labels
bug
Things that aren't working right in the library.
pointer-events: none;
on icons within buttons?
#626
Describe the bug
Hi,
(slotted) Icons within
sl-button
orsl-icon-button
should not catch the click on the button itself.It is a little bit confusing, if the cursor points on the icon while you try to click a submit button.
Demo: https://codepen.io/TrailSnail/pen/WNZOGwm
So the question: would it be correct, to add a
pointer-events: none;
to the icons by default?At the moment we do theses workaround manually in our projects.
Greetings 😉
The text was updated successfully, but these errors were encountered: