diff --git a/src/TransformGridItem/index.tsx b/src/TransformGridItem/index.tsx index c0d3605..0e1db13 100644 --- a/src/TransformGridItem/index.tsx +++ b/src/TransformGridItem/index.tsx @@ -52,8 +52,10 @@ export const TransformGridItem: FC = ({ transform }) => { return } - setClosed(alreadyClosed) - setPreviewDisabled(false) + if (previewDisabled) { + setClosed(alreadyClosed) + setPreviewDisabled(false) + } }, [value]) const onCheckboxOptionChanged =