cx 24.9.0 → 24.9.2

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.
@@ -63,12 +63,10 @@
63
63
  .#{$element}#{$name}-input {
64
64
  width: $size;
65
65
  height: $size;
66
-
67
66
  top: calc(50% - #{$size * 0.5});
68
67
  left: 0;
69
68
  display: inline-block;
70
69
  position: absolute;
71
- border-radius: 50%;
72
70
  //overflow: hidden;
73
71
  opacity: 1;
74
72
 
@@ -78,6 +76,7 @@
78
76
  $input: false,
79
77
  $overrides: (
80
78
  default: (
79
+ border-radius: 50%,
81
80
  padding: 0,
82
81
  margin: 0 !important,
83
82
  )
@@ -225,7 +225,8 @@ class Input extends VDOM.Component {
225
225
  }
226
226
 
227
227
  componentWillUnmount() {
228
- if (this.input == getActiveElement()) this.onChange(this.input.value, "blur");
228
+ if (this.input == getActiveElement() && this.input.value != this.props.data.value)
229
+ this.onChange(this.input.value, "blur");
229
230
  tooltipParentWillUnmount(this.props.instance);
230
231
  }
231
232