fix: scroll active sidebar items into view (#4965)

* Add centering of settings sidebar link when isActive

* abstract redundant logic into a reusable hook

* add jsdocs | refactor hook to consume behavior and block args

* remove unused import

* dev

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
Marcello Fitton
2026-02-06 19:23:14 -08:00
committed by GitHub
parent 71cfff8091
commit 8f7e0fb1f8
4 changed files with 52 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ concurrency:
on:
push:
branches: ["web-push-notifications-bootstrap"] # put your current branch to create a build. Core team only.
branches: ["4963-sidebar-selection-srcoll-into-view"] # put your current branch to create a build. Core team only.
paths-ignore:
- "**.md"
- "cloud-deployments/*"