Merge remote-tracking branch 'origin/main' into feat/apps-in-toss

This commit is contained in:
minaChoi committed 2026-10-28 17:24:15 +09:00
commit becd26d1da
3 files changed
+6 -3

No files matched your search

+3
View File
@@ -157,11 +157,14 @@ function SheetHost({ state, onClose }: { state: SheetState; onClose: () => void
const root = document.documentElement
const before = root.style.overflow
root.style.overflow = 'hidden'
// 창 안에서 끝까지 밀어도 뒤 페이지로 넘어가지 않게
root.style.overscrollBehavior = 'none'
// 뒤 화면 움직임 멈추기는 페이지 전체 스타일을 다시 계산하게 해서, 창이 다 올라온 뒤에 한다
const pause = setTimeout(() => root.classList.add('b-sheet-open'), SHEET_OPEN_MS)
return () => {
clearTimeout(pause)
root.style.overflow = before
root.style.overscrollBehavior = ''
root.classList.remove('b-sheet-open')
}
}, [isOpen])