ui-kit-ck-consultant 0.5.267 → 0.5.269
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.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4403,9 +4403,11 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
|
|
4403
4403
|
_this = _React$Component.call(this, props) || this;
|
4404
4404
|
|
4405
4405
|
_this.eventMouseUp = function () {
|
4406
|
-
_this.
|
4407
|
-
|
4408
|
-
|
4406
|
+
if (_this.state.isDisplay) {
|
4407
|
+
_this.setState({
|
4408
|
+
isActive: false
|
4409
|
+
});
|
4410
|
+
}
|
4409
4411
|
};
|
4410
4412
|
|
4411
4413
|
_this.onMouse = function (e, isForce) {
|
@@ -4448,7 +4450,7 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
|
|
4448
4450
|
};
|
4449
4451
|
|
4450
4452
|
_proto.componentWillUnmount = function componentWillUnmount() {
|
4451
|
-
window.removeEventListener('mouseup', this.eventMouseUp);
|
4453
|
+
window.removeEventListener('mouseup', this.eventMouseUp, true);
|
4452
4454
|
};
|
4453
4455
|
|
4454
4456
|
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|