@thecb/components 6.0.0-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/package.json
CHANGED
|
@@ -120,6 +120,7 @@ const Dropdown = ({
|
|
|
120
120
|
const onKeyDown = e => {
|
|
121
121
|
const { key, keyCode } = e;
|
|
122
122
|
const focus = document.activeElement;
|
|
123
|
+
console.log("dropdown value is", value);
|
|
123
124
|
console.log("focus is", focus);
|
|
124
125
|
console.log("option refs are", optionRefs.current);
|
|
125
126
|
const optionEl = optionRefs.current.find(ref => ref.current === focus);
|