intelicoreact 1.3.4 → 1.3.5

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.
@@ -400,6 +400,10 @@ var Dropdown = function Dropdown(_ref) {
400
400
  return document.getElementById(dropdownId);
401
401
  };
402
402
 
403
+ var getListContainerWrapper = function getListContainerWrapper() {
404
+ return document.getElementById("mlw-".concat(dropdownId));
405
+ };
406
+
403
407
  var setListContainerStyles = function setListContainerStyles() {
404
408
  var _dropdownRef$current$, _dropdownListWrapperR, _getComputedStyle$mar, _getComputedStyle, _getComputedStyle$mar2, _getComputedStyle$max, _getComputedStyle2, _getComputedStyle2$ma, _sw$getBoundingClient, _dropdownListWrapperR2, _dropdownListWrapperR3, _lh$getBoundingClient;
405
409
 
@@ -671,9 +675,10 @@ var Dropdown = function Dropdown(_ref) {
671
675
  }, [scrollTop, dropdownListRef === null || dropdownListRef === void 0 ? void 0 : dropdownListRef.current]);
672
676
  (0, _react.useEffect)(function () {
673
677
  return function () {
674
- var _getListContainer7;
678
+ var _getListContainer7, _getListContainerWrap;
675
679
 
676
680
  (_getListContainer7 = getListContainer()) === null || _getListContainer7 === void 0 ? void 0 : _getListContainer7.remove();
681
+ (_getListContainerWrap = getListContainerWrapper()) === null || _getListContainerWrap === void 0 ? void 0 : _getListContainerWrap.remove();
677
682
  };
678
683
  }, []);
679
684
  var postfixText = selectedLabel && ((_filteredOptions$find = filteredOptions.find(function (option) {
@@ -340,6 +340,10 @@ var TagsDropdown = function TagsDropdown(_ref) {
340
340
  return document.getElementById(dropdownId);
341
341
  };
342
342
 
343
+ var getListContainerWrapper = function getListContainerWrapper() {
344
+ return document.getElementById("mlw-".concat(dropdownId));
345
+ };
346
+
343
347
  var setListContainerStyles = function setListContainerStyles() {
344
348
  var _dropdownRef$current$, _dropdownRef$current, _getComputedStyle$mar, _getComputedStyle, _getComputedStyle$mar2, _getComputedStyle$max, _getComputedStyle2, _getComputedStyle2$ma, _dl$getBoundingClient, _sw$getBoundingClient, _sw$getBoundingClient2, _lh$getBoundingClient, _lf$getBoundingClient;
345
349
 
@@ -598,9 +602,10 @@ var TagsDropdown = function TagsDropdown(_ref) {
598
602
  }, [scrollTop, dropdownListRef === null || dropdownListRef === void 0 ? void 0 : dropdownListRef.current]);
599
603
  (0, _react.useEffect)(function () {
600
604
  return function () {
601
- var _getListContainer4;
605
+ var _getListContainer4, _getListContainerWrap;
602
606
 
603
607
  (_getListContainer4 = getListContainer()) === null || _getListContainer4 === void 0 ? void 0 : _getListContainer4.remove();
608
+ (_getListContainerWrap = getListContainerWrapper()) === null || _getListContainerWrap === void 0 ? void 0 : _getListContainerWrap.remove();
604
609
  };
605
610
  }, []);
606
611
  return /*#__PURE__*/_react.default.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [