stopPropagation() on checkbox click

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-08-25 12:40:58 +03:00
1 parent b16d6520bc
commit 9857358d2b
1 file changed
+1
@@ -107,6 +107,7 @@ function IndeterminateCheckbox({
ref={ref}
className={className}
style={{ cursor: "pointer" }}
onClick={(e) => e.stopPropagation()}
{...rest}
/>
)