everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
907 stars 47 forks source link

[BUG] Placement of tooltip in safari when zoomed in is not correct #102

Open qb-rivkyb opened 5 months ago

qb-rivkyb commented 5 months ago

Describe the bug In safari when the screen is zoomed in the tooltip does not show in the correct place. I tested in chrome and all was fine.

Reproduce https://codesandbox.io/p/sandbox/damp-shape-5cnf6k?file=%2Fsrc%2FApp.js%3A23%2C11

Expected behavior The tooltip placement should stay in the correct place when the screen is zoomed in

Browser / OS (please complete the following information):

https://github.com/everweij/react-laag/assets/75636699/a9f66884-ecb8-49bf-ab64-837eeed8289f

Vepsur commented 1 week ago

I have the same issue. Do you have any solutions?