0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 06:04:36 +01:00
gitea/web_src/js/modules
silverwind bcd0733a64
Only show one tippy at a time (#24648)
Because our tippy instances have an `interactiveBorder`, it's possible
to bring up two instances at once, which is undesirable.

<img width="256" alt="Screenshot 2023-05-10 at 23 03 04"
src="https://github.com/go-gitea/gitea/assets/115237/3a9a1775-78c1-46d4-a8a5-503ab7dca0d8">

Prevent this by keeping track of visible tippy instances and hiding
others when one is shown. Tippy also has the [singleton
addon](https://atomiks.github.io/tippyjs/v6/addons/#singleton) for the
same purpose, but it's unsuitable to us because we don't init all
tooltips at once.
2023-05-11 05:40:54 +00:00
..
aria Use 1.18's aria role for dropdown menus (#24144) 2023-04-16 21:58:22 +08:00
fomantic.js Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
stores.js Use reactive store to share data between components (#23996) 2023-04-11 20:44:26 -04:00
tippy.js Only show one tippy at a time (#24648) 2023-05-11 05:40:54 +00:00