fix: 로그인 등 아래 창이 버벅이던 문제 — 해·구름 떨어짐과 둥둥을 다른 요소로 나눠 GPU로 넘기고(둘이 겹쳐 매 프레임 메인 스레드 작업), 낮엔 안 보이는 별 애니메이션 멈춤, 창이 열린 동안 뒤 화면 움직임 정지

This commit is contained in:
minaChoi committed 2026-10-21 16:16:26 +09:00
1 parent bfbf6da101
commit 14f24d1ab0
6 files changed
+26 -10

No files matched your search

+2
View File
@@ -101,8 +101,10 @@ function SheetHost({ state, onClose }: { state: SheetState; onClose: () => void
const root = document.documentElement
const before = root.style.overflow
root.style.overflow = 'hidden'
root.classList.add('b-sheet-open')
return () => {
root.style.overflow = before
root.classList.remove('b-sheet-open')
}
}, [isOpen])