Delos Chang
Delos Chang

Reputation: 1853

jQuery UI Resizable creates Blue Highlighting in Chrome

When I resize using the ui-resizable and begin dragging, other divs on the page are highlighted blue as if I selected them.

I tried using CSS and outline none on the classes but it doesn't work.

Please provide your insight.

Thank you- all suggestions are appreciated.

Upvotes: 0

Views: 178

Answers (1)

nicholas
nicholas

Reputation: 100

Try this

$("element").resizable({ 
    resize: function(event) {           
        document.onselectstart = function () { return false; };
    },
    stop: function(event) {
        document.onselectstart = function () { return true; };
    }, 
});

Upvotes: 1

Related Questions