Skip to content

Commit

Permalink
- Fixed bug: loading fullPage in iframe forces scroll of parent window
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarotrigo committed Jun 20, 2024
1 parent f8438d1 commit fc10340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/scrolloverflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const scrollOverflowHandler = {
// Forcing the focus on the next paint
// to avoid issue #4484 & #4493 on Safari
requestAnimationFrame(function(){
scrollableItem.focus();
scrollableItem.focus({preventScroll: true});
scrollOverflowHandler.isInnerScrollAllowed = true;
});
}
Expand Down

0 comments on commit fc10340

Please sign in to comment.