Skip to content

Commit a90e195

Browse files
committed
Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded
1 parent 202ddd0 commit a90e195

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

themes/base/jquery.ui.selectable.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/* Selectable
22
----------------------------------*/
3-
.ui-selectable-helper { border:1px dotted black }
3+
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }

ui/jquery.ui.selectable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ $.widget("ui.selectable", $.ui.mouse, {
9090
$(options.appendTo).append(this.helper);
9191
// position helper (lasso)
9292
this.helper.css({
93-
"z-index": 100,
94-
"position": "absolute",
9593
"left": event.clientX,
9694
"top": event.clientY,
9795
"width": 0,

0 commit comments

Comments
 (0)