Hello,
in our project we needed feature, where user may select one or more table rows. But if he double click on row something else would happen.
It worked fine in IE, but didn't work in any other browser.
I found the problem in jquery.ui.selectable.js file. Problem caused position helper (lasso). When it appeared, you couldn't reach element which is under lasso element. Here is the fix:
Original code:
$(options.appendTo).append(this.helper);
// position helper (lasso)
- this.helper.css({
"left": event.clientX,
"top": event.clientY,
"width": 0,
- "height": 0
});
Fixed code:
$(options.appendTo).append(this.helper);
// position helper (lasso)
this.helper.css({
- "left": event.clientX + 1,
"top": event.clientY + 1,
"width": 0,
"height": 0
});