Skip to content

Commit

Permalink
Fix to enable touch for seek and volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Zayco committed Jul 10, 2021
1 parent 856c6d6 commit 3b7e2fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/player/src/MediaVolumeSlider.tsx
Expand Up @@ -16,6 +16,7 @@ const parentDivStyle: React.CSSProperties = {
padding: '6px',
justifyContent: 'center',
alignItems: 'center',
touchAction: 'none',
};

const containerStyle: React.CSSProperties = {
Expand Down
1 change: 1 addition & 0 deletions packages/player/src/PlayerSeekBar.tsx
Expand Up @@ -30,6 +30,7 @@ const containerStyle: React.CSSProperties = {
boxSizing: 'border-box',
cursor: 'pointer',
position: 'relative',
touchAction: 'none',
};

const barBackground: React.CSSProperties = {
Expand Down

0 comments on commit 3b7e2fa

Please sign in to comment.