diff --git a/apps/client/index.html b/apps/client/index.html index 6551fc1..70bb78b 100644 --- a/apps/client/index.html +++ b/apps/client/index.html @@ -5,7 +5,7 @@ diff --git a/apps/client/src/scenes/lobby/LobbyScene.tsx b/apps/client/src/scenes/lobby/LobbyScene.tsx index 96b5d5f..237bf95 100644 --- a/apps/client/src/scenes/lobby/LobbyScene.tsx +++ b/apps/client/src/scenes/lobby/LobbyScene.tsx @@ -128,6 +128,7 @@ overflow-y: auto; flex-grow: 1; min-height: 0; + touch-action: pan-y; } ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-thumb { background-color: #555; border-radius: 4px; } diff --git a/apps/client/src/scenes/lobby/styles/LobbyScene.styles.ts b/apps/client/src/scenes/lobby/styles/LobbyScene.styles.ts index 769dcac..8763dc3 100644 --- a/apps/client/src/scenes/lobby/styles/LobbyScene.styles.ts +++ b/apps/client/src/scenes/lobby/styles/LobbyScene.styles.ts @@ -32,6 +32,7 @@ overflowX: "hidden", overflowY: "auto", WebkitOverflowScrolling: "touch", + touchAction: "pan-y", display: "flex", flexDirection: "column", alignItems: "center", diff --git a/apps/client/src/scenes/result/styles/resultStyles.ts b/apps/client/src/scenes/result/styles/resultStyles.ts index f2b86a4..f584eb2 100644 --- a/apps/client/src/scenes/result/styles/resultStyles.ts +++ b/apps/client/src/scenes/result/styles/resultStyles.ts @@ -30,7 +30,7 @@ boxSizing: "border-box", overscrollBehaviorX: "none", overscrollBehaviorY: "none", - touchAction: "pan-y", + touchAction: "none", }; /** 結果発表タイトルのスタイル */ @@ -143,6 +143,7 @@ overflowY: "auto", overscrollBehaviorY: "contain", WebkitOverflowScrolling: "touch", + touchAction: "pan-y", }; /** 順位表ヘッダー行のスタイル */ @@ -276,6 +277,7 @@ overflowY: "auto", overscrollBehaviorY: "contain", WebkitOverflowScrolling: "touch", + touchAction: "pan-y", }; /** プレイヤースタッツ数値セルのスタイル */ @@ -355,6 +357,7 @@ overflowY: "auto", overscrollBehaviorY: "contain", WebkitOverflowScrolling: "touch", + touchAction: "pan-y", }; /** プレイヤーランキング数値セルのスタイル */