intelicoreact 1.2.68 → 1.2.70
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.
|
@@ -268,7 +268,7 @@ var TagsDropdown = function TagsDropdown(_ref) {
|
|
|
268
268
|
onChange([].concat((0, _toConsumableArray2.default)(chosenOptions), (0, _toConsumableArray2.default)(((_prepareOptions = prepareOptions(options)) === null || _prepareOptions === void 0 ? void 0 : (_prepareOptions$filte = _prepareOptions.filter(function (_ref3) {
|
|
269
269
|
var isFreezed = _ref3.isFreezed,
|
|
270
270
|
value = _ref3.value;
|
|
271
|
-
return !isFreezed && !(chosenOptions !== null && chosenOptions !== void 0 && chosenOptions.includes(value));
|
|
271
|
+
return !isFreezed && !(chosenOptions !== null && chosenOptions !== void 0 && chosenOptions.includes(value)) && value !== 'open_modal';
|
|
272
272
|
})) === null || _prepareOptions$filte === void 0 ? void 0 : _prepareOptions$filte.map(function (_ref4) {
|
|
273
273
|
var value = _ref4.value;
|
|
274
274
|
return value;
|
|
@@ -155,7 +155,7 @@ function useMobileModal(_ref) {
|
|
|
155
155
|
};
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
}, [isMobile, withMobileLogic, scrollDirection, modalsLogicProps, modalHeight]);
|
|
158
|
+
}, [scrollTop, scrollHeight, isMobile, withMobileLogic, scrollDirection, modalsLogicProps, modalHeight]);
|
|
159
159
|
(0, _react.useLayoutEffect)(function () {
|
|
160
160
|
var _modalMobileHeaderRef, _modalMobileHeaderRef2;
|
|
161
161
|
|