Skip to content

Commit

Permalink
fix(FEC-7408): when using navigation with TAB key, the cast icon is n…
Browse files Browse the repository at this point in the history
…ot responding (#442)
  • Loading branch information
RoyBregman committed Oct 29, 2019
1 parent 6de3b54 commit 49eb8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cast/cast.js
Expand Up @@ -64,7 +64,7 @@ class Cast extends Component {
onKeyDown={e => {
if (e.keyCode === KeyMap.ENTER) {
this.props.updateBackdropVisibility(true);
this.player.startCasting().catch(() => this.props.updateBackdropVisibility(false));
this.props.player.startCasting().catch(() => this.props.updateBackdropVisibility(false));
}
}}>
<google-cast-launcher className={style.castButton} tabIndex="0" />
Expand Down

0 comments on commit 49eb8fa

Please sign in to comment.