fix: on press widgets select functionality trigger issue in mobile view

This commit is contained in:
RaktimaNXG
2024-01-31 09:56:46 +05:30
parent 882b97da5e
commit 0a3d89d0e2
2 changed files with 13 additions and 2 deletions
@@ -245,7 +245,10 @@ export const getWidgetType = (
"0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.18)",
marginLeft: marginLeft && `${marginLeft}px`,
background:
selectWidgetType === item.type && backgroundColor && backgroundColor
selectWidgetType === item.type &&
backgroundColor &&
backgroundColor,
userSelect: "none"
}}
>
<div