mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 16:18:30 +08:00
This commit fixes the (?) tooltips for reports on
the admin dashboard on mobile.
The fix is that float-kit instances can now have different triggers
and un-triggers for mobile and desktop, and float-kit is now aware
of the site being in mobile view.
Example usage:
```
@triggers={{hash mobile=(array "click")}}
```
So now, if you press on the tooltip trigger on mobile it shows
correctly, and on desktop both hover and click can be used.
---------
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
|
||
|---|---|---|
| .. | ||
| constants.js | ||
| d-menu-instance.js | ||
| d-toast-instance.js | ||
| d-tooltip-instance.js | ||
| float-kit-instance.js | ||
| get-scroll-parent.js | ||
| update-position.js | ||