[Tooltip] Increase default x/y offset on mobile / touch
Open
techniq
opened this issue 8 months ago
•
0 comments
Currently we default xOffset / yOffset to 10 pixels when using pointer mode, but this can easily obscure tooltips under your bring.
We should instead increase the offset when touch is detected using maybe new MediaQuery('(pointer: course)') (svelte, mdn) or navigator.maxTouchPoints (mdn) as a tell.