Add four-icon mobile bottom Dock with recent sections
This commit is contained in:
1 parent
c3257a0f4d
commit
03c590e172
20 files changed
+547
-5
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { mobileDockQuery } from "./mobile-dock.js";
|
||||
/** One document-wide Dock shell. The host owns routes and active nav items. */
|
||||
export function mountDock({
|
||||
navigation,
|
||||
@@ -77,6 +78,7 @@ export function mountDock({
|
||||
clearTimeout(timer);
|
||||
if (
|
||||
e.pointerType === "mouse" &&
|
||||
!matchMedia(mobileDockQuery).matches &&
|
||||
matchMedia("(hover:hover) and (pointer:fine)").matches
|
||||
)
|
||||
setOpen(true);
|
||||
|
||||
Reference in new issue
Block a user