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

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

Build:
Build:
LAST BUILD BRANCH: fix/avatar-link-underline-v6
DEFAULT BRANCH: main
Ran 30 Oct 2026 10:20PM UTC
Jobs 1
Files 91
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

30 Oct 2026 10:18PM UTC coverage: 96.417% (+0.03%) from 96.383%
41137230502

push

github

web-flow
feat(util): share one layer stack between menus, pickers, comboboxes and dialogs (#1771)

* feat(util): add the layer stack shared by floating panels

util/layers keeps one stack of open floating panels per page, in a
globalThis record so every copy of the module (bundle, ESM, UMD, a
nested package) shares it. A layer registers when it opens and
unregisters when it starts to close. Its parent is the deepest open
layer whose parts hold its anchor, across shadow roots; a layer
registered before its parent is adopted.

Opening a layer asks every open layer that is not its ancestor or
descendant to close. Closing a layer asks its descendants to close
first, deepest first and without the focus, and tells the layer
whether to hand the focus back. A click closes every layer it lands
outside of, decided in the bubble phase on a snapshot taken in the
capture phase, so a child that closes during the click still counts
as inside its parent and a layer the click opened stays.
handleEscape closes the layer the Escape comes from and stops it;
an Escape on no element goes to the top layer unless that is a
dialog. A layer is asked at most once per task.

Exported as utils/layers for the React and Vue editions.

* feat(Menu): put Menu, Dropdown and ContextMenu on the layer stack

A menu registers its layer when it shows, before any DOM write, and
unregisters it when it starts to hide, which closes the layers opened
inside it first and decides whether the focus goes back to the toggle.
Opening any menu now closes the other open menus on every path (click,
arrow key, Shift+F10, show() from code), except one with autoClose
false or 'inside' and the menu that holds the opening toggle.

An outside click is the engine's job; Menu.clearMenus keeps the inside
click and the Tab keyup, and neither counts a click or a focus move in
a layer opened from the menu. Escape on the toggle and the panel goes
through handleEscape; the submenu and the ContextMenu area keep their
own Escap... (continued)

8045 of 8576 branches covered (93.81%)

Branch coverage included in aggregate %.

296 of 297 new or added lines in 14 files covered. (99.66%)

13698 of 13975 relevant lines covered (98.02%)

2075.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.75
-0.24% js/src/dialog-base.ts
Jobs
ID Job ID Ran Files Coverage
1 41137230502.1 30 Oct 2026 10:20PM UTC 91
96.42
GitHub Action Run
Source Files on build 41137230502
  • Tree
  • List 91
  • Changed 13
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41137230502
  • b68e418c on github
  • Prev Build on v6-dev (#40983418709)
  • Next Build on v6-dev (#41477049311)
  • 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