Open ppietris opened 7 years ago
Oh good catch @ppietris Will try to fix it soon.
@ppietris published in 2.0.7 😃
Positioning seems to be a problem all around, not just when the scrollbar is present. It would be good if there were some way to force the at-who
to pop up exactly where the @
is being used. I'm not sure this is the solution, but we definitely need something.
@humblecoder At the time I opened that issue I was learning Vue, but ended up dropping it for something that I was more familiar with.
I will try to revisit that issue and submit a PR, but I can't promise it will be any time soon.
With PopperJS you can pass either a element from DOM or a reference Object.
This library uses coordinates from text, so we need a referenceObject instead of a DOM element.
If you are interested, a starting point is this PopperJS doc and this Vue doc
Edit: Also this
@LouizFC thanks, including popper.js would be cool
@fritz just to confirm: the position of the popper is calculated and applied only in the "style" computed property, right?
Edit: by popper, I mean the auto-completion box
Hello! It seems like suggestion box top position is wrong, when browser scrollbar is visible