intelicoreact 1.1.23 → 1.1.24

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,9 @@ var Dropdown = function Dropdown(_ref) {
457
457
  }
458
458
  }, [isSearchInputFocused]);
459
459
  (0, _react.useEffect)(function () {
460
- if (isOpen && !isSearchInputFocused) searchInputRef.current.focus();
460
+ var _searchInputRef$curre;
461
+
462
+ if (isOpen && !isSearchInputFocused && searchInputRef !== null && searchInputRef !== void 0 && searchInputRef.current) searchInputRef === null || searchInputRef === void 0 ? void 0 : (_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 ? void 0 : _searchInputRef$curre.focus();
461
463
  }, [isOpen]);
462
464
  var postfixText = selectedLabel && ((_filteredOptions$find = filteredOptions.find(function (option) {
463
465
  return option.value === value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [