Skip to content
This repository was archived by the owner on Apr 8, 2022. It is now read-only.

Insert autocomplete element in target's parent

Compare
Choose a tag to compare
@rafaelverger rafaelverger released this 15 Feb 01:26

Instead of using document.body to insert autocomplete element, use the target's parent and then, if the target is inside an element with position [absolute, fixed or relative], use relative values to adjust element position