Skip to content

Commit 477ff9d

Browse files
authored
fix(VideoBlock): disable scrolling at video iframe (#1145)
1 parent de21ec4 commit 477ff9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/VideoBlock/VideoBlock.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const VideoBlock = (props: VideoBlockProps) => {
152152
title={i18n('iframe-title')}
153153
frameBorder="0"
154154
allowFullScreen={true}
155+
scrolling="no"
155156
allow="autoplay; fullscreen; encrypted-media; accelerometer; gyroscope; picture-in-picture; clipboard-write; web-share; screen-wake-lock"
156157
loading="lazy"
157158
/>

0 commit comments

Comments
 (0)