2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-09-19 08:49:01 +00:00

Merge pull request #626 from a-khajelou/patch-1

the custom parent bug for positioning
This commit is contained in:
Tomas Kirda 2017-12-05 09:26:03 -06:00 committed by GitHub
commit 2a68f0f86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,6 +336,7 @@
parentOffsetDiff = $container.offsetParent().offset();
styles.top -= parentOffsetDiff.top;
styles.top += containerParent.scrollTop;
styles.left -= parentOffsetDiff.left;
if (!that.visible){