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.umd.js CHANGED
@@ -262,6 +262,8 @@
262
262
  onChange = props.onChange;
263
263
 
264
264
  function change(event) {
265
+ event.stopPropagation();
266
+ event.preventDefault();
265
267
  var value = event.target.checked;
266
268
  if (onChange) onChange(id, value);
267
269
  }