Skip to main content

Search and Top Navigation

#7750 closed enhancement (notabug)

Opened September 29, 2011 11:14PM UTC

Closed October 14, 2011 07:49AM UTC

disable text selection not works for the slider handle

Reported by: thepanther Owned by: thepanther
Priority: minor Milestone: 1.9.0
Component: ui.slider Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description
$.fn.disableSelection = function() {
    return this.each(function() {           
        $(this).attr('unselectable', 'on')
               .css({
                   '-moz-user-select':'none',
                   '-webkit-user-select':'none',
                   'user-select':'none'
               })
               .each(function() {
                   this.onselectstart = function() { return false; };
               });
    });
};

Not works on slider handle.

Every blinking on the slider button/handle the 'I' Text-Selection cursor, is very unsexy. It be nice, if you can fix this.

Attachments (0)
Change History (3)

Changed September 30, 2011 02:11AM UTC by scottgonzalez comment:1

owner: → thepanther
status: newpending

There shouldn't even be anything to select in your handle. Please provide a reduced test case showing the problem.

Changed September 30, 2011 02:14AM UTC by scottgonzalez comment:2

Also, what version are you using? I can't seem to find anything that has that definition for disableSelection.

Changed October 14, 2011 07:49AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!