react-laag
react-laag copied to clipboard
[BUG] Placement of tooltip in safari when zoomed in is not correct
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):
- OS: Mac
- Browser: Safari
- Version 17.4.1
https://github.com/everweij/react-laag/assets/75636699/a9f66884-ecb8-49bf-ab64-837eeed8289f