add collision flag to adjust tooltip position, fix #281
This commit is contained in:
parent
f1f3edb30b
commit
b4294c4545
@ -3,6 +3,7 @@ X-editable changelog
|
|||||||
|
|
||||||
Version 1.4.6 wip
|
Version 1.4.6 wip
|
||||||
----------------------------
|
----------------------------
|
||||||
|
[enh #281] add coliision flag to jQuery UI tooltip (vitalets)
|
||||||
[bug #279] fix jQuery UI tooltip z-index to be less than select2 dropdown (vitalets)
|
[bug #279] fix jQuery UI tooltip z-index to be less than select2 dropdown (vitalets)
|
||||||
[bug #276] support id() and text() functions of select2 (vitalets)
|
[bug #276] support id() and text() functions of select2 (vitalets)
|
||||||
|
|
||||||
|
@ -78,25 +78,29 @@
|
|||||||
case 'top':
|
case 'top':
|
||||||
pos = {
|
pos = {
|
||||||
my: "center bottom-5",
|
my: "center bottom-5",
|
||||||
at: "center top"
|
at: "center top",
|
||||||
|
collision: 'flipfit'
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case 'right':
|
case 'right':
|
||||||
pos = {
|
pos = {
|
||||||
my: "left+5 center",
|
my: "left+5 center",
|
||||||
at: "right center"
|
at: "right center",
|
||||||
|
collision: 'flipfit'
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case 'bottom':
|
case 'bottom':
|
||||||
pos = {
|
pos = {
|
||||||
my: "center top+5",
|
my: "center top+5",
|
||||||
at: "center bottom"
|
at: "center bottom",
|
||||||
|
collision: 'flipfit'
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case 'left':
|
case 'left':
|
||||||
pos = {
|
pos = {
|
||||||
my: "right-5 center",
|
my: "right-5 center",
|
||||||
at: "left center"
|
at: "left center",
|
||||||
|
collision: 'flipfit'
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user