@thecb/components 6.0.0-beta.1 → 6.0.0-beta.2

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.
package/dist/index.esm.js CHANGED
@@ -19564,6 +19564,8 @@ var Dropdown = function Dropdown(_ref9) {
19564
19564
 
19565
19565
  case "Backspace" :
19566
19566
  e.preventDefault();
19567
+ console.log("input value is", inputValue);
19568
+ console.log("new input value will be", inputValue.slice(0, -1));
19567
19569
  setInputValue(inputValue.slice(0, -1));
19568
19570
  break;
19569
19571
  }
@@ -19575,6 +19577,9 @@ var Dropdown = function Dropdown(_ref9) {
19575
19577
  };
19576
19578
 
19577
19579
  useEffect$1(function () {
19580
+ console.log("option refs in isopen useffect", optionRefs.current[0].current);
19581
+ console.log("value in isopen useffect", value);
19582
+
19578
19583
  if (isOpen && optionRefs.current[0].current) {
19579
19584
  optionRefs.current[0].current.focus();
19580
19585
  }