We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70e0138 commit 509259aCopy full SHA for 509259a
ui/jquery.ui.button.js
@@ -193,6 +193,8 @@ $.widget( "ui.button", {
193
$( this ).addClass( "ui-state-active" );
194
}
195
})
196
+ // see #8559, we bind to blur here in case the button element loses
197
+ // focus between keydown and keyup, it would be left in an "active" state
198
.bind( "keyup" + this.eventNamespace + " blur" + this.eventNamespace, function() {
199
$( this ).removeClass( "ui-state-active" );
200
});
0 commit comments