Skip to content

Commit

Permalink
Stop propagation of handled key press events
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Feb 12, 2024
1 parent f7056af commit 8422d9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ export default props => {
return;
}

e.stopPropagation();
e.preventDefault();

return;
Expand Down Expand Up @@ -300,6 +301,7 @@ export default props => {
return;
}

e.stopPropagation();
e.preventDefault();
}

Expand Down

0 comments on commit 8422d9e

Please sign in to comment.