Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Core: Removed .disableSelection() #485

wants to merge 1 commit into


None yet
4 participants

scottgonzalez commented Oct 1, 2011



scottgonzalez commented Oct 1, 2011

We should remove this from all of the demos and the plugins now. Deprecate the methods in 1.9 and remove them in 2.0.


scottgonzalez commented Oct 1, 2011

Should fix #7737.


scottgonzalez commented Oct 1, 2011

Close #7735 as wontfix.


gnarf commented Oct 12, 2011

Agree - if we don't actually need it for anything... Why do we have it?


scottgonzalez commented Oct 12, 2011

Apparently someone thought we needed it...


scottgonzalez commented Oct 27, 2011

Quick testing in IE 6 shows that this causes selection regressions in the delayed draggable demos. Apparently we have to prevent the default action of mousemove all the time. We're currently only preventing it if we've already met the distance/delay tolerance. I'm not sure if there are any negative side effects to always preventing the default action.

@scottgonzalez scottgonzalez commented on the diff May 15, 2012

@@ -142,7 +142,7 @@ $.widget("ui.dialog", {
.html( title )
.prependTo( uiDialogTitlebar );
- uiDialogTitlebar.find( "*" ).add( uiDialogTitlebar ).disableSelection();
+ uiDialogTitlebar.find( "*" ).add( uiDialogTitlebar );

scottgonzalez May 15, 2012


This whole line should've been deleted.


mikesherov commented Nov 5, 2012

Is this landable now that the new site is launched?


scottgonzalez commented Nov 5, 2012

I think there needs to be another round of testing in IE. I don't remember if this was just an IE6 problem, but I'm assuming it wasn't.


scottgonzalez commented Nov 19, 2012

Testing PR notification.

@scottgonzalez scottgonzalez reopened this Nov 19, 2012

disableSelection was causing issues in our site while using .sortable in IE9. When we call disableSelection after .sortable, in IE9 it makes the textboxes inside of the sortable divs unselectable, in Chrome and Firefox the textboxes are selectable. So far in our testing after removing the disableSelection line after .sortable I haven't seen any adverse affects.

@scottgonzalez scottgonzalez deleted the scottgonzalez:disableSelection branch Jan 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment