Skip to content

chore(deps): update dependency focus-trap to v8.2.5 - #4473

Merged
JammingBen merged 1 commit into
mainfrom
renovate/focus-trap-8.x-lockfile
Nov 16, 2026
Merged

JammingBen merged 1 commit into
mainfrom
renovate/focus-trap-8.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
focus-trap 8.2.4 → 8.2.5 age confidence

Release Notes

focus-trap/focus-trap (focus-trap)

v8.2.5

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@JammingBen
JammingBen merged commit b05c97a into main Nov 16, 2026
30 checks passed
@JammingBen
JammingBen deleted the renovate/focus-trap-8.x-lockfile branch November 16, 2026 08:36
@openclouders openclouders mentioned this pull request Nov 16, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant