Skip to content

Commit 55a0bab

Browse files
fix: allow iframe to scroll appropriately
1 parent 93e6463 commit 55a0bab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/overscroll-disable.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if (globalThis.window !== undefined && window.top !== window) {
2+
document.documentElement.style.overscrollBehaviorY = 'auto';
3+
}

0 commit comments

Comments
 (0)