For what I investigated, there is no direct solution to my problem. Since the input is a single tag, it cannot have any child nodes, and because of this, it cannot be displayed relative to the input tag.
I assume that the only solution would be either complex javascript or jQuery (.postion ()). If a solution to this problem was absolutely necessary, you would need to find the input position and place the div relative to it, but again, this is not a good solution, because if the input field is moved, the div will remain in the same place if you are not listening to this particular DOM mutation (I donβt even know if this is possible).
That's what I have learned so far, I want to be wrong, so if someone proves to me that I'm wrong, I will be pleased :)
source share