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

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

Build:
Build:
LAST BUILD BRANCH: docs/navbar-dark-offcanvas-v6
DEFAULT BRANCH: main
Ran 30 Nov 2026 10:23AM UTC
Jobs 1
Files 99
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 Nov 2026 10:20AM UTC coverage: 96.857% (+0.003%) from 96.854%
46399136133

push

github

web-flow
fix(Dialog, Drawer): keep keyboard: false open on every Escape (#1919)

With keyboard: false a modal Dialog, Drawer, Modal or Offcanvas refused
the native cancel event, which the browser lets a page do only a limited
number of times without user activation in between, so a repeated Escape
closed it. The Escape keydown is now prevented, which stops the close
request before it starts: the dialog stays open and bounces with
hidePrevented once per press, not while the key is held. A non-modal
dialog keeps preventing Escape without a bounce.

An Escape that has a job inside the dialog is left alone: one that clears
a search field with text or closes an open popover does that, as with
keyboard: true, and the next one bounces. So is an Escape whose path
reaches another dialog nested inside this one first, also across a
shadow root, so an Escape in a dialog nested inside a non-modal
one closes that dialog; it used to close the outer one and leave the
inner one open. The new isDialogEscape() in
util/layers holds that rule for the three editions; the layer Escape
handlers there stay as they are, because they decide for the layer
stack, not for one dialog.

In a non-modal dialog with
keyboard: true the same Escape now clears the field first, as in a modal one,
instead of closing the dialog with the text still in it.

The docs of the keyboard option now ask for a visible close button in
such a dialog, because keyboard and screen reader users lose Escape as a
way out.

Measured in Chromium and Firefox on the built bundle with real key
presses: five Escapes leave a keyboard: false Dialog and Drawer open with
five hidePrevented (before: two bounces, then closed on the third), a
search field clears and a popover closes on the first Escape. Safari is
not measured.

8875 of 9384 branches covered (94.58%)

Branch coverage included in aggregate %.

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

14667 of 14922 relevant lines covered (98.29%)

2486.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46399136133.1 30 Nov 2026 10:23AM UTC 99
96.86
GitHub Action Run
Source Files on build 46399136133
  • Tree
  • List 99
  • 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 #46399136133
  • 5390cbb6 on github
  • Prev Build on v6-dev (#46323481583)
  • Next Build on v6-dev (#46428321220)
  • 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