mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-29 00:06:36 +00:00
Merge pull request #626 from a-khajelou/patch-1
the custom parent bug for positioning
This commit is contained in:
commit
2a68f0f86f
@ -336,6 +336,7 @@
|
|||||||
|
|
||||||
parentOffsetDiff = $container.offsetParent().offset();
|
parentOffsetDiff = $container.offsetParent().offset();
|
||||||
styles.top -= parentOffsetDiff.top;
|
styles.top -= parentOffsetDiff.top;
|
||||||
|
styles.top += containerParent.scrollTop;
|
||||||
styles.left -= parentOffsetDiff.left;
|
styles.left -= parentOffsetDiff.left;
|
||||||
|
|
||||||
if (!that.visible){
|
if (!that.visible){
|
||||||
|
Loading…
Reference in New Issue
Block a user