react-component / tooltip

React Tooltip
http://react-component.github.io/tooltip/
MIT License
928 stars 190 forks source link

`targetOffset` is not working, and tooltip on svg icon is broken #444

Closed xsjcTony closed 1 year ago

xsjcTony commented 1 year ago

Hey, the original issue is #439 but since it's not active anymore so I decided to open another ticket with reproduction:

v6: https://stackblitz.com/edit/vitejs-vite-8228fq?file=src/App.tsx v5: https://stackblitz.com/edit/vitejs-vite-jelnh4?file=src/App.tsx

I've prepared two reproductions with exactly the same code, except one is v6 and another is v5.

v6 is broken but v5 is functioning as expected.

xsjcTony commented 1 year ago

@zombieJ Hey, sorry to bother as I know you are busy, but is there any chance this could be inspected or put into the plan?

I'm currently using v5 so it's fine, but do want to upgrade to v6 if this can be resolved. Thanks for that.🙏