mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
core: this fixes the Safari issue that select options can't be selected if the mouse widget is used, since the mousedown returns false which calls preventDefault. Returning true causes text to be selectable in FF/Opera though, so this needs to be Safari only for now.
This commit is contained in:
parent
c3df1b6df6
commit
352287b7ef
@ -455,7 +455,7 @@ $.ui.mouse = {
|
|||||||
.bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
|
.bind('mousemove.'+this.widgetName, this._mouseMoveDelegate)
|
||||||
.bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
|
.bind('mouseup.'+this.widgetName, this._mouseUpDelegate);
|
||||||
|
|
||||||
return false;
|
return $.browser.safari; //Fix for safari to allow selecting select options
|
||||||
},
|
},
|
||||||
|
|
||||||
_mouseMove: function(event) {
|
_mouseMove: function(event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user