v3.4.0
-
[IE only] Address an issue that the
changeevent never fires forindeterminateinput elements (6a2fba9)Use onClick event handler if you want to have a cross-browser solution for handling
indeterminateinput elements.<Checkbox checked={checked} indeterminate={indeterminate} onClick={(event) => { const { checked, indeterminate } = event.target; if ((!checked && indeterminate) || checked) { // Check } else { // Uncheck } }} />
Also see jquery/jquery#1698