From 559edf5c50a459773b04d342db3c0609ea4a2992 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Thu, 15 Jun 2023 13:27:59 -0300 Subject: [PATCH] Adding nowheel to scroll inside a node --- src/frontend/src/components/dropdownComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/dropdownComponent/index.tsx b/src/frontend/src/components/dropdownComponent/index.tsx index 641731574..0f4942198 100644 --- a/src/frontend/src/components/dropdownComponent/index.tsx +++ b/src/frontend/src/components/dropdownComponent/index.tsx @@ -61,7 +61,7 @@ export default function Dropdown({ className={ editNode ? "absolute z-10 mt-1 max-h-60 overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm w-[215px]" - : "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm " + : "nowheel absolute z-10 mt-1 max-h-60 w-full overflow-auto overflow-y rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm " } > {options.map((option, id) => (