mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 03:25:13 -04:00
Fixed disappearing version selector when hiding page title
This commit is contained in:
@@ -92,7 +92,7 @@ export function watchHeaderTitle(
|
||||
map(({ offset: { y } }) => {
|
||||
const { height } = getElementSize(el)
|
||||
return {
|
||||
active: y >= height
|
||||
active: height > 0 && y >= height
|
||||
}
|
||||
}),
|
||||
distinctUntilKeyChanged("active")
|
||||
|
||||
Reference in New Issue
Block a user