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
sl-icon-button propagates click events when disabled, while sl-button stops them. It seems like Chrome doesn't call the internal click handler for sl-icon-button.
The event you're seeing was bubbling up from the icon element inside the icon button. Normal buttons have pointer-events: none which prevents that, so I've made icon button consistent with that behavior.
Bug
sl-icon-button propagates click events when disabled, while sl-button stops them. It seems like Chrome doesn't call the internal click handler for sl-icon-button.
Demo
Codepen
Browser / OS
Chromium 99 / desktop Linux
Chrome 102 / Windows 10
Firefox works fine on both systems.
The text was updated successfully, but these errors were encountered: