fix(web): iPhone 键盘收起后顶栏复位,积分块与盘面芯片同高
Independent Staging Quality Gate / validate (push) Successful in 11m21s
Independent Staging Quality Gate / publish (push) Successful in 10m46s

This commit is contained in:
jesse-ux
2026-09-17 13:13:39 +08:00
parent 77e3626a5c
commit 1b508d5e9a
11 changed files with 345 additions and 10 deletions
@@ -0,0 +1,12 @@
"use client";
import { useEffect } from "react";
import { installViewportScrollLock } from "@/lib/viewport-scroll-lock";
export function ViewportScrollLock() {
useEffect(() => {
return installViewportScrollLock(window as unknown as Parameters<typeof installViewportScrollLock>[0]);
}, []);
return null;
}