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

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

Build:
Build:
LAST BUILD BRANCH: fix/avatar-link-underline-v6
DEFAULT BRANCH: main
Ran 28 Oct 2026 09:21PM UTC
Jobs 1
Files 89
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

28 Oct 2026 09:20PM UTC coverage: 96.291% (+0.05%) from 96.239%
40771174738

push

github

web-flow
fix(Menu): move focus into the menu on Home and End from its toggle (#1766)

* fix(Menu): move focus into the menu on Home and End from its toggle

With the menu open and focus on the toggle, Home and End looked up the
items of the closest `.menu` of the toggle, found none and threw
`Illegal invocation` from `SelectorEngine.find(…, null)`; on a closed
menu they threw the same way. They now fall back to the menu panel, as
the arrow keys already do, and on a closed menu they are left to the
page. Dropdown counts its items from the descendants of the panel in
`_getItemsInMenu` too, so Home and End work with the `<li>` markup,
where they did nothing. The arrow keys, Home and End now stay with a
`<select>` in the panel, as they did with an input. The arrow keys that
enter and leave a submenu follow the direction of the submenu rather
than of the focused item, so an item with its own `dir` does not swap
them. The Enter, Space and arrow branches that open a submenu ran the
same code and are one branch again.

* feat(Menu): add loopFocus to move from the last item to the first

Arrow keys stop at the first and the last item of a level, as before. With
`loopFocus: true` (or `data-coreui-loop-focus="true"`) ArrowDown on the last
item moves to the first and ArrowUp on the first moves to the last, in Menu,
ContextMenu and Dropdown, which inherit the option.

Dropdown no longer keeps its own copy of `_selectMenuItem` and uses Menu's,
so the wrap rule lives in one place. Which panel a key acts on comes from one
method, `_getLevelMenu`, for the arrow keys and for Home and End: Menu takes
the panel around the target when the target is inside its menu and its own
panel otherwise, so a Menu toggle placed in a static `.menu` block no longer
walks that block's items on the arrow keys, Home or End. Dropdown overrides it
with its own panel, which is what the removed copy used, so Home and End
follow the arrow keys there too.

Size: the three `.min.js` bundles grow 7 to 12 ... (continued)

7751 of 8282 branches covered (93.59%)

Branch coverage included in aggregate %.

12 of 12 new or added lines in 2 files covered. (100.0%)

13330 of 13611 relevant lines covered (97.94%)

2094.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40771174738.1 28 Oct 2026 09:21PM UTC 89
96.29
GitHub Action Run
Source Files on build 40771174738
  • Tree
  • List 89
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40771174738
  • ffd15df0 on github
  • Prev Build on v6-dev (#40708287257)
  • Next Build on v6-dev (#40886700248)
  • 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