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
When using a checkbox control for the play/pause toggle, the change event is fired twice when using the keyboard (spacebar) to check or uncheck the play/pause checkbox control. This issue applies to the JME 2 + jQuery Mobile branch. I'm currently investigating this issue.
Alexander, if you have any insights, let me know.
Cheers,
Matt
The text was updated successfully, but these errors were encountered:
Just a little update on this issue. Looks like jQuery Mobile sets the checked attribute when the keyboard is used, thus triggering another change event. The following is the relavent code snippet from jquery.mobile.forms.checkboxradio.js:
vclick: function() {
var $this = $(this);
// Adds checked attribute to checked input when keyboard is used
if ( $this.is( ":checked" ) ) {
$this.attr( "checked", "checked" );
self._getInputSet().not($this).removeAttr( "checked" );
} else {
$this.removeAttr( "checked" );
}
self._updateAll();
},
Cheers,
Matt
ghost
pushed a commit
that referenced
this issue
Feb 6, 2012
When using a checkbox control for the play/pause toggle, the change event is fired twice when using the keyboard (spacebar) to check or uncheck the play/pause checkbox control. This issue applies to the JME 2 + jQuery Mobile branch. I'm currently investigating this issue.
Alexander, if you have any insights, let me know.
Cheers,
Matt
The text was updated successfully, but these errors were encountered: