@thecb/components 5.11.4-beta.0 → 6.0.0-beta.1
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
|
@@ -19514,9 +19514,13 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19514
19514
|
var key = e.key,
|
|
19515
19515
|
keyCode = e.keyCode;
|
|
19516
19516
|
var focus = document.activeElement;
|
|
19517
|
+
console.log("dropdown value is", value);
|
|
19518
|
+
console.log("focus is", focus);
|
|
19519
|
+
console.log("option refs are", optionRefs.current);
|
|
19517
19520
|
var optionEl = optionRefs.current.find(function (ref) {
|
|
19518
19521
|
return ref.current === focus;
|
|
19519
19522
|
});
|
|
19523
|
+
console.log("option el is", optionEl);
|
|
19520
19524
|
|
|
19521
19525
|
switch (key) {
|
|
19522
19526
|
case "ArrowDown":
|