In the Checkbox
event.nativeEvent.target.checked seems to be set differently depending on whether the input was toggled by mouse click or by pressing space.
After clicking on the Checkbox,
event.nativeEvent.target.checked will have the same value, consistent with the Checkbox's new state.
After pressing space with the Checkbox focused,
event.nativeEvent.target.checked will have different values, with
event.value containing the Checkbox's new state and
event.nativeEvent.target.checked containing the Checkbox's old state.
I would expect
event.nativeEvent.target.checked to be set the same way regardless of whether I am toggling the Checkbox with mouse or keyboard. Furthermore, I would expect
event.nativeEvent.target.checked to always be equal to each other.
I made a code sandbox to demonstrate the bug here: https://codesandbox.io/s/kendo-react-checkbox-bug-26f7ur