Skip to content

[stable34] chore(deps): bump focus-trap from 8.2.4 to 8.2.5 in /build/frontend-legacy - #66908

Open
dependabot[bot] wants to merge 1 commit into
stable34from
dependabot/npm_and_yarn/build/frontend-legacy/stable34/focus-trap-8.2.5
Open

dependabot[bot] wants to merge 1 commit into
stable34from
dependabot/npm_and_yarn/build/frontend-legacy/stable34/focus-trap-8.2.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown
Contributor

Bumps focus-trap from 8.2.4 to 8.2.5.

Changelog

Sourced from focus-trap's changelog.

8.2.5

Patch Changes

  • 24a9714: Fix several issues with a trap's activation being cancelled, superseded, or interrupted before it completes:

    • Deactivating a trap while its checkCanFocusTrap() promise is pending no longer completes the activation (adding listeners, isolating subtrees, and calling onPostActivate()) once the promise settles.
    • Reactivating a trap before a previous activation's checkCanFocusTrap() promise settles no longer lets that stale activation finish against the new one.
    • Deactivating a trap while its initial focus is delayed (delayInitialFocus: true) no longer completes the activation.
    • Deactivating a trap from a focus handler on its initial focus node (delayInitialFocus: false) no longer leaves document listeners behind that keep intercepting focus, clicks, and keys.
    • Pausing a trap during activation (e.g. in onActivate()) or while it sets its initial focus no longer adds listeners to the paused trap or isolates other content.
    • Cancelling a pending activation now restores the previous trap's subtree isolation instead of leaving it removed, and no longer removes inert or aria-hidden attributes the page had already set on adjacent elements.
    • A trap that resumes while another trap's activation is still pending no longer re-isolates its subtrees, which hid the pending trap's container and, with inert, made its activation fail for lack of tabbable nodes.
  • 9fe8f29: Update tabbable dependency to ^6.5.2

  • 3f6d5f6: Fix a trap deactivated (even if then reactivated) or paused again while unpausing (e.g. by its onUnpause() handler, or a focus handler on its initial focus node) still finishing the cancelled unpause, isolating its subtrees and calling onPostUnpause() afterward, which could leave adjacent elements inert or aria-hidden with no active trap.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/commits)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-version: 8.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from a team as code owners November 21, 2026 03:37
@dependabot
dependabot Bot requested review from kristian-zendato and skjnldsv and removed request for a team November 21, 2026 03:37
@github-actions github-actions Bot changed the title chore(deps): bump focus-trap from 8.2.4 to 8.2.5 in /build/frontend-legacy [stable34] chore(deps): bump focus-trap from 8.2.4 to 8.2.5 in /build/frontend-legacy Nov 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants