labsense-ui-kit 1.3.64 → 1.3.65

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.
@@ -8003,6 +8003,14 @@ var OptionComponent = function OptionComponent(_ref11) {
8003
8003
  setHighlightedIndex = _useState2[1];
8004
8004
  var optionContainerRef = useRef(null);
8005
8005
  var searchInputRef = useRef(null);
8006
+ useEffect(function () {
8007
+ if (searchBox && searchInputRef.current) {
8008
+ setTimeout(function () {
8009
+ var _searchInputRef$curre;
8010
+ (_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 ? void 0 : _searchInputRef$curre.focus();
8011
+ }, 50);
8012
+ }
8013
+ }, [searchBox]);
8006
8014
  var handleSearchChange = function handleSearchChange(e) {
8007
8015
  setSearchQuery(e.target.value.trimStart());
8008
8016
  setHighlightedIndex(-1);