mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 11:34:26 +08:00
When tapping something on a touch-enabled device, `mouseMove` events are still fired, so floatkit would still be triggered even if configured for 'hover' only. For links, this would be particularly strange, because the tooltip would appear for a split-second, before the page navigation occured. To avoid this problem, we can use the more-modern 'pointerMove' event, and check the `pointerType` to exclude 'touch' |
||
|---|---|---|
| .. | ||
| acceptance | ||
| components | ||
| helpers | ||
| integration/components/user-menu | ||
| unit | ||
| chat-fixtures.js | ||