• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coreui / coreui-pro / 42312239970
97%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 06 Nov 2026 11:39PM UTC
Jobs 1
Files 92
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 11:29PM UTC coverage: 96.596% (+0.01%) from 96.583%
42312239970

push

github

web-flow
fix(Tooltip): keep a hover tip under the pointer when the trigger also has click (#1804)

* fix(Tooltip): keep a hover tip under the pointer when the trigger also has click

With `trigger: 'hover click'` the tip got no listeners of its own, so a tip
shown by hovering hid as soon as the pointer left the trigger for it, and the
path-to-the-tip check never ran. The tip now listens whenever the trigger
holds `hover` or `focus`; a trigger of `click` alone still leaves the tip
without listeners, and a tip pinned by a click stays when the pointer leaves
it. React and Vue already listened on the tip with these triggers.

* fix(Tooltip): pin a tip on click when hover or focus opened it

The click trigger flipped the click flag with `!(isShown && click)` and
called `toggle()`, which hides only when no flag holds the tip. With the
pointer on the trigger, a click on a pinned tip only unpinned it. On
touch the tap leaves the hover flag set until a tap elsewhere, so the
next taps switched the pin on and off and the tip never closed from its
trigger. A tip shown by `show()` got pinned by the first click instead
of closing.

`_openedBy` now records whether hover or focus opened the tip, and both
click listeners go through `_clickToggle()`: a click on a hidden tip
shows it pinned, a click on a tip that hover or focus opened pins it,
and a click on a pinned tip, or on one shown by `show()`, clears the
triggers and hides it. A pin on a shown tip also cancels a hide that the
hide delay still holds back. A move to another anchor by hover or focus
drops the pin; `_moveTo(anchor, pinned)` carries a click pin, and how
the tip opened, through the close and reopen into another dialog or text
direction. `hide()` forgets how the tip opened, and so does a leave
before the show delay ends, so a later `show()` closes on the first
click. React and Vue follow the same rule.

The tooltip spec that checked the focus leaving a click and focus tip
now looks for a shown tip instead of `_i... (continued)

8361 of 8879 branches covered (94.17%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 1 file covered. (100.0%)

14026 of 14297 relevant lines covered (98.1%)

2138.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42312239970.1 06 Nov 2026 11:39PM UTC 92
96.6
GitHub Action Run
Source Files on build 42312239970
  • Tree
  • List 92
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42312239970
  • 83089c33 on github
  • Prev Build on v6-dev (#42297750308)
  • Next Build on v6-dev (#42502650253)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc