@thecb/components 5.11.4 → 6.0.0-beta.0
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.cjs.js
CHANGED
|
@@ -19522,9 +19522,12 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19522
19522
|
var key = e.key,
|
|
19523
19523
|
keyCode = e.keyCode;
|
|
19524
19524
|
var focus = document.activeElement;
|
|
19525
|
+
console.log("focus is", focus);
|
|
19526
|
+
console.log("option refs are", optionRefs.current);
|
|
19525
19527
|
var optionEl = optionRefs.current.find(function (ref) {
|
|
19526
19528
|
return ref.current === focus;
|
|
19527
19529
|
});
|
|
19530
|
+
console.log("option el is", optionEl);
|
|
19528
19531
|
|
|
19529
19532
|
switch (key) {
|
|
19530
19533
|
case "ArrowDown":
|