mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 11:35:17 -04:00
Improved back-to-top button behavior on anchor jump
This commit is contained in:
@@ -233,7 +233,7 @@ const content$ = defer(() => merge(
|
||||
|
||||
/* Back-to-top button */
|
||||
...getComponentElements("top")
|
||||
.map(el => mountBackToTop(el, { viewport$, header$, main$ }))
|
||||
.map(el => mountBackToTop(el, { viewport$, header$, main$, target$ }))
|
||||
))
|
||||
|
||||
/* Set up component observables */
|
||||
|
||||
Reference in New Issue
Block a user