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.modern.js
CHANGED
@@ -4400,9 +4400,11 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
|
|
4400
4400
|
_this = _React$Component.call(this, props) || this;
|
4401
4401
|
|
4402
4402
|
_this.eventMouseUp = function () {
|
4403
|
-
_this.
|
4404
|
-
|
4405
|
-
|
4403
|
+
if (_this.state.isDisplay) {
|
4404
|
+
_this.setState({
|
4405
|
+
isActive: false
|
4406
|
+
});
|
4407
|
+
}
|
4406
4408
|
};
|
4407
4409
|
|
4408
4410
|
_this.onMouse = function (e, isForce) {
|
@@ -4445,7 +4447,7 @@ var Gauge = /*#__PURE__*/function (_React$Component) {
|
|
4445
4447
|
};
|
4446
4448
|
|
4447
4449
|
_proto.componentWillUnmount = function componentWillUnmount() {
|
4448
|
-
window.removeEventListener('mouseup', this.eventMouseUp);
|
4450
|
+
window.removeEventListener('mouseup', this.eventMouseUp, true);
|
4449
4451
|
};
|
4450
4452
|
|
4451
4453
|
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|