From a01fca5deb9ac6db417fe470d73d0bee2d4db5bb Mon Sep 17 00:00:00 2001 From: CandyCandyCandy <161817534+BruCandy@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:58:17 +0900 Subject: [PATCH] resolved mouse problem --- app/routes/reception.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/routes/reception.tsx b/app/routes/reception.tsx index e844fc2..427c7d1 100644 --- a/app/routes/reception.tsx +++ b/app/routes/reception.tsx @@ -226,6 +226,15 @@ export default function Reception() { onChange={tableNumberChange} value={tableNumber} bg="gray.300" + onFocus={(e) => + e.target.addEventListener( + "wheel", + (e) => { + e.preventDefault() + }, + { passive: false }, + ) + } /> 注文メモ: