react-switch
Advanced tools
Changelog
[6.0.0 - 2021-01-06]
aria-checked
attribute (@monicahung)checked
state is not changed in the onChange
callback, the switch will now go back to its previous position instead of getting stuck halfway. This means the switch will move back and forth if the onChange
callback changes the state after an asynchronous operation.Changelog
[5.0.0 - 2019-04-22]
input
-element.exports:named
option in rollup. This could possibly be breaking for some obscure setups.componentWillReceiveProps
lifecycle hook with componentDidUpdate
, which means it now works in strict mode.