Skip to content

Commit cf3175e

Browse files
theletterfcodexcursoragent
committed
Format nav-v2 scroll observer
Prettier wrapped the ResizeObserver map type so the npm formatting check passes in CI. Co-Authored-By: OpenAI GPT-5.4 <noreply@openai.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 174e219 commit cf3175e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Elastic.Documentation.Site/Assets/pages-nav-v2.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ let navV2OptimisticNavigateBound = false
99

1010
let navV2TruncationTippyInstances: Instance[] = []
1111
const navV2ActiveBranchScrollTimeouts = new WeakMap<HTMLElement, number[]>()
12-
const navV2ActiveBranchScrollObservers = new WeakMap<HTMLElement, ResizeObserver>()
12+
const navV2ActiveBranchScrollObservers = new WeakMap<
13+
HTMLElement,
14+
ResizeObserver
15+
>()
1316

1417
function readCollapsedFolderIds(): Set<string> {
1518
try {

0 commit comments

Comments
 (0)