Skip to content

Commit 3c6a451

Browse files
authored
fix(VideoBlock): disable scrolling at video iframe (#1145) (#1147)
* fix(VideoBlock): disable scrolling at video iframe (#1145) * chore: add release 5.x.x action (#1148)
1 parent d9cf686 commit 3c6a451

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release version 5.x.x.
2+
3+
on:
4+
push:
5+
branches: [version-5.x.x]
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: gravity-ui/release-action@v1
12+
with:
13+
github-token: ${{ secrets.GRAVITY_UI_BOT_GITHUB_TOKEN }}
14+
npm-token: ${{ secrets.GRAVITY_UI_BOT_NPM_TOKEN }}
15+
node-version: 18
16+
npm-dist-tag: untagged
17+
default-branch: version-5.x.x

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)