You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
When wanting to position a floating element on an inline element that spans over two or more lines, the positioning is not desirable because getBoundingClientRect() measures over the whole box, not each individual inline rect.
Solution
It's possible to do this via a Virtual Element but a middleware would be better.
Problem
When wanting to position a floating element on an inline element that spans over two or more lines, the positioning is not desirable because
getBoundingClientRect()
measures over the whole box, not each individual inline rect.Solution
It's possible to do this via a Virtual Element but a middleware would be better.
e.g. https://github.com/atomiks/tippyjs/blob/60aee16c934fc861569f84a37c6a1a7f42a33fa0/src/plugins/inlinePositioning.ts#L112
The text was updated successfully, but these errors were encountered: