Skip to content

Commit

Permalink
Fix #1774
Browse files Browse the repository at this point in the history
  • Loading branch information
DTProductions committed Nov 28, 2024
1 parent 1396d72 commit cd3bdc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Board/Board.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ export class Board extends Component {
backgroundColor={tile.backgroundColor}
borderColor={tile.borderColor}
variant={variant}
onClick={() => {
onClick={e => {
e.stopPropagation();
this.handleTileClick(tile);
}}
onFocus={() => {
Expand Down Expand Up @@ -253,7 +254,8 @@ export class Board extends Component {
backgroundColor={tile.backgroundColor}
borderColor={tile.borderColor}
variant={variant}
onClick={() => {
onClick={e => {
e.stopPropagation();
this.handleTileClick(tile);
}}
onFocus={() => {
Expand Down

0 comments on commit cd3bdc5

Please sign in to comment.