From cd3bdc5285522e0cff5b5b8ac3640de30a3281ff Mon Sep 17 00:00:00 2001 From: Diogo Tosta Silva Date: Wed, 27 Nov 2024 21:26:35 -0300 Subject: [PATCH] Fix #1774 --- src/components/Board/Board.component.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Board/Board.component.js b/src/components/Board/Board.component.js index 63d41e732..a9b95e5e3 100644 --- a/src/components/Board/Board.component.js +++ b/src/components/Board/Board.component.js @@ -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={() => { @@ -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={() => {