ywana-core8 0.0.286 → 0.0.287

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -267,6 +267,8 @@ var CheckBox = function CheckBox(props) {
267
267
  onChange = props.onChange;
268
268
 
269
269
  function change(event) {
270
+ event.stopPropagation();
271
+ event.preventDefault();
270
272
  var value = event.target.checked;
271
273
  if (onChange) onChange(id, value);
272
274
  }