Files
Jyotisha/frontend/src/components/viewport-scroll-lock.tsx
T
jesse-ux 1b508d5e9a
Independent Staging Quality Gate / validate (push) Successful in 11m21s
Independent Staging Quality Gate / publish (push) Successful in 10m46s
fix(web): iPhone 键盘收起后顶栏复位,积分块与盘面芯片同高
2026-09-17 13:13:39 +08:00

13 lines
318 B
TypeScript

"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;
}