/* jQuery UI - v1.10.2 - 2013-12-12 (and later)
* http://bugs.jqueryui.com/ticket/9087#comment:30
* http://bugs.jqueryui.com/ticket/9087#comment:27 - bugfix
* http://bugs.jqueryui.com/ticket/4727#comment:23 - bugfix
* allowInteraction fix
* https://github.com/bgrins/spectrum/issues/276
* https://github.com/select2/select2/issues/1246
*/
$.ui.dialog.prototype._allowInteraction = function(e) {
return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .sp-input, .select2-dropdown').length;
};
Last active
September 6, 2015 00:46
-
-
Save brenopolanski/5b4f8d44d5d06bdc77ee to your computer and use it in GitHub Desktop.
spectrum and select2 input broken inside jQuery UI modal Dialog
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment