Skip to content

Bump focus-trap-react from 11.0.4 to 12.0.0#669

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/focus-trap-react-12.0.0
Open

Bump focus-trap-react from 11.0.4 to 12.0.0#669
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/focus-trap-react-12.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 8, 2026

Bumps focus-trap-react from 11.0.4 to 12.0.0.

Release notes

Sourced from focus-trap-react's releases.

v12.0.0

Major Changes

  • 763eae4: BREAKING: Updated focus-trap dependency to v8.0.0. The breaking change is that onPostActivate() is now correctly called after the initial focus node is focused (it was previously called before due to a bug with the initial focus delay). See the focus-trap changelog for more details.

v11.0.6

Patch Changes

  • c0bd275: Bump focus-trap to 7.8.0 for new aria-hidden support in isolateSubtrees option and bug fix related to trapStack option

v11.0.5

Patch Changes

  • 01712b0: Update focus-trap dependency to 7.6.6 and tabbable to 6.3.0 to get a new displayCheck option in tabbable.
  • 0f8db7c: Bump tabbable to 6.4.0 and focus-trap to 7.7.1 for improved inert handling
Changelog

Sourced from focus-trap-react's changelog.

12.0.0

Major Changes

  • 763eae4: BREAKING: Updated focus-trap dependency to v8.0.0. The breaking change is that onPostActivate() is now correctly called after the initial focus node is focused (it was previously called before due to a bug with the initial focus delay). See the focus-trap changelog for more details.

11.0.6

Patch Changes

  • c0bd275: Bump focus-trap to 7.8.0 for new aria-hidden support in isolateSubtrees option and bug fix related to trapStack option

11.0.5

Patch Changes

  • 01712b0: Update focus-trap dependency to 7.6.6 and tabbable to 6.3.0 to get a new displayCheck option in tabbable.
  • 0f8db7c: Bump tabbable to 6.4.0 and focus-trap to 7.7.1 for improved inert handling
Commits
  • 932495b Version Packages (#1802)
  • 763eae4 Update to focus-trap@8.0.0 with breaking changes (#1801)
  • 8d8e607 [DEPENDABOT]: Bump @​typescript-eslint/eslint-plugin from 8.53.1 to 8.54.0 (#1...
  • e04b7a0 [DEPENDABOT]: Bump globals from 17.0.0 to 17.2.0 (#1797)
  • 4edb1fc [DEPENDABOT]: Bump prettier from 3.8.0 to 3.8.1 (#1799)
  • c0f4381 [DEPENDABOT]: Bump @​types/node from 25.0.9 to 25.0.10 (#1800)
  • c9d9776 [DEPENDABOT]: Bump lodash from 4.17.21 to 4.17.23 (#1795)
  • a04512d [DEPENDABOT]: Bump @​typescript-eslint/eslint-plugin from 8.53.0 to 8.53.1 (#1...
  • 731a29b [DEPENDABOT]: Bump @​typescript-eslint/parser from 8.53.0 to 8.53.1 (#1791)
  • a9a83f5 [DEPENDABOT]: Bump prettier from 3.7.4 to 3.8.0 (#1792)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for focus-trap-react since your current version.


Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 8, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

Super-linter summary

Language Validation result
JSON Pass ✅
OPENAPI Pass ✅

All files and directories linted successfully

For more information, see the
GitHub Actions workflow run

Powered by Super-linter

Bumps [focus-trap-react](https://github.com/focus-trap/focus-trap-react) from 11.0.4 to 12.0.0.
- [Release notes](https://github.com/focus-trap/focus-trap-react/releases)
- [Changelog](https://github.com/focus-trap/focus-trap-react/blob/master/CHANGELOG.md)
- [Commits](focus-trap/focus-trap-react@v11.0.4...v12.0.0)

---
updated-dependencies:
- dependency-name: focus-trap-react
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/focus-trap-react-12.0.0 branch from 1720872 to 7d35f19 Compare April 15, 2026 08:46
@github-actions
Copy link
Copy Markdown
Contributor

Super-linter summary

Language Validation result
JSON Pass ✅
OPENAPI Pass ✅

All files and directories linted successfully

For more information, see the
GitHub Actions workflow run

Powered by Super-linter

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates a UI dependency used for focus management (mobile navbar sidebar) by bumping focus-trap-react to the latest major, along with its transitive focus-trap/tabbable updates.

Changes:

  • Bump focus-trap-react from 11.0.4 to 12.0.0 in package.json.
  • Update pnpm-lock.yaml to reflect the new focus-trap-react version and transitive updates (focus-trap@8.0.1, tabbable@6.4.0).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the direct dependency version for focus-trap-react.
pnpm-lock.yaml Locks the new dependency graph/resolutions for the upgrade (including focus-trap and tabbable).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"docusaurus-theme-search-typesense": "0.26.0",
"dotenv": "17.3.1",
"focus-trap-react": "11.0.4",
"focus-trap-react": "12.0.0",
Copy link

Copilot AI Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a major upgrade and the upstream release notes mention a breaking behavior change in focus-trap v8 (onPostActivate timing relative to initial focus). Even though this repo doesn’t appear to use onPostActivate directly, please do a quick manual smoke-test of the mobile navbar sidebar focus trap (open/close, tab/shift-tab cycling, initial focus, ESC) to ensure focus management and accessibility behavior didn’t regress before merging.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

3 participants