Skip to content

Commit fc10340

Browse files
committed
- Fixed bug: loading fullPage in iframe forces scroll of parent window #4628
1 parent f8438d1 commit fc10340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/scrolloverflow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export const scrollOverflowHandler = {
124124
// Forcing the focus on the next paint
125125
// to avoid issue #4484 & #4493 on Safari
126126
requestAnimationFrame(function(){
127-
scrollableItem.focus();
127+
scrollableItem.focus({preventScroll: true});
128128
scrollOverflowHandler.isInnerScrollAllowed = true;
129129
});
130130
}

0 commit comments

Comments
 (0)