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
By default, setting a button to disabled only disables pointer events. You can still tab-focus and press enter to "click" it. We should prevent clicks (both mouse clicks and enter) on disabled Button within the component itself.
Also, like the Dropdown issue, there's no way to show a popup on a disabled Button (which I'd imagine is a very common use-case, letting the user know why the button is disabled). I don't think we should manually set the pointer-events, but we should make it possible for the user to do so while still keeping the "disabled" behavior of preventing the default action.
Similar issue to #791
By default, setting a button to
disabled
only disables pointer events. You can still tab-focus and press enter to "click" it. We should prevent clicks (both mouse clicks and enter) on disabledButton
within the component itself.Also, like the Dropdown issue, there's no way to show a popup on a disabled
Button
(which I'd imagine is a very common use-case, letting the user know why the button is disabled). I don't think we should manually set thepointer-events
, but we should make it possible for the user to do so while still keeping the "disabled" behavior of preventing the default action.See the following codepen for examples: http://codepen.io/jeffcarbs/pen/gLWBRj
The text was updated successfully, but these errors were encountered: