intelicoreact 1.2.98 → 1.2.99
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.
|
@@ -457,7 +457,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
457
457
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
458
458
|
className: (0, _classnames.default)("".concat(RC, "__container-wrapper")),
|
|
459
459
|
ref: wrapperRef,
|
|
460
|
-
onClick: onWrapperClick
|
|
460
|
+
onClick: isMobile ? onWrapperClick : function () {}
|
|
461
461
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
462
462
|
className: (0, _classnames.default)("".concat(RC, "__list-wrapper"), (_cn3 = {}, (0, _defineProperty2.default)(_cn3, "".concat(RC, "__list-wrapper--fixed-height"), isFixedMaxHeight), (0, _defineProperty2.default)(_cn3, "".concat(RC, "__list-wrapper--with-bottom-shadow"), isScrollableList && isMobile), (0, _defineProperty2.default)(_cn3, "".concat(RC, "__list-wrapper--with-bottom-shadow-hidden"), scrollTop === scrollHeight), _cn3)),
|
|
463
463
|
ref: dropdownListWrapperRef
|
|
@@ -425,7 +425,7 @@ var TagsDropdown = function TagsDropdown(_ref) {
|
|
|
425
425
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
426
426
|
className: (0, _classnames.default)("".concat(RC, "__container-wrapper")),
|
|
427
427
|
ref: wrapperRef,
|
|
428
|
-
onClick: onWrapperClick
|
|
428
|
+
onClick: isMobile ? onWrapperClick : function () {}
|
|
429
429
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
430
430
|
ref: dropdownListWrapperRef,
|
|
431
431
|
className: (0, _classnames.default)("".concat(RC, "__selector-wrapper"), (0, _defineProperty2.default)({}, "".concat(RC, "__selector-wrapper--fixed-height"), isFixedMaxHeight && isMobile))
|