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

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

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 27 Oct 2026 11:22AM UTC
Jobs 1
Files 88
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

27 Oct 2026 11:11AM UTC coverage: 96.178% (+0.01%) from 96.166%
40494231593

push

github

web-flow
fix(FocusTrap): keep Tab in the panel with focus guards, leave the pointer alone (#1760)

The trap pulled back every focus that left it, whatever moved it, so a click on a field next to an open picker or Multi Select panel lost its focus to the panel. Multi Select worked around it by lifting the trap on every outside pointerdown and putting it back on pointerup, a listener that outlived dispose().

The trap now puts a hidden, focusable guard right before and right after each region of the Tab cycle while it is active, and listens to nothing else. A guard reached from inside the cycle, or from nowhere, wraps to the neighbouring region; one reached from the page leads into its own. The browser decides the last stop of a region, so the trap does not need to guess it. A click, a tap or a script moves the focus wherever it points. focusableChildren leaves the guards out, and an empty cycle ends by blurring the guard.

Multi Select drops its pointer listeners and guards the whole selection (chips and search) instead of the search field. A click on its own control while the panel is open moves the focus to the list, and a key on the native select focuses the toggle only while the panel is closed; both used to rely on the trap pulling the focus back. A closing picker or combobox panel is inert until it opens again, so a Tab does not land in a panel that is fading out. A Tab out of a picker field leaves the panel open, as before.

Size, gzip (bundlewatch): coreui.esm.min.js 115.28 -> 115.19 KB, coreui.bundle.min.js 121.52 -> 121.46 KB, coreui.min.js 115.43 -> 115.37 KB.

Checked with real Tab and Shift+Tab in Chromium and in Safari 17.6 with default settings, where Tab skips buttons: the focus never left a panel, including one at the end of the document, and Multi Select cycled the same way in both. In Safari a forward wrap lands on the first element of the panel, a button that Safari's own Tab skips, so the forward and backward cycles have different stops. Vo... (continued)

7695 of 8243 branches covered (93.35%)

Branch coverage included in aggregate %.

56 of 56 new or added lines in 5 files covered. (100.0%)

13315 of 13602 relevant lines covered (97.89%)

2086.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40494231593.1 27 Oct 2026 11:22AM UTC 88
96.18
GitHub Action Run
Source Files on build 40494231593
  • Tree
  • List 88
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40494231593
  • 1dc4f80b on github
  • Prev Build on v6-dev (#40345577180)
  • Next Build on v6-dev (#40520522690)
  • 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