Closed zhaoyao91 closed 3 years ago
I'm not sure why the <span>
in the example is stretching to the whole width as if it weren't clipped at 100px, but if you apply it to the outer div it works. It's not possible to fix this because the element is actually that wide and there's no way to detect otherwise.
oh thanks, it works
Bug description
If the reference is an inline element and is truncked by text ellipsis, the position is wrong
Reproduction
https://codepen.io/zhaoyao91/pen/MWbXJVP