From 17daad0c38150e22326c329016e20207f70afc19 Mon Sep 17 00:00:00 2001 From: Emerson Laurentino Date: Mon, 13 Apr 2020 18:53:05 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20using=20indeterminate=20o?= =?UTF-8?q?n=20checkbox=20when=20partial=20true?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: #1146 --- react/components/Checkbox/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/react/components/Checkbox/index.js b/react/components/Checkbox/index.js index a58d140f0..cc7852023 100755 --- a/react/components/Checkbox/index.js +++ b/react/components/Checkbox/index.js @@ -79,7 +79,10 @@ class Checkbox extends PureComponent { { + elem && (elem.indeterminate = !checked && partial) + forwardedRef && (forwardedRef.current = elem) + }} className={classNames('h1 w1 absolute o-0', { pointer: !disabled, })}