oolib 3.3.2 → 3.3.3
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.
|
@@ -29,7 +29,10 @@ var useKeyboardControl = function (_a) {
|
|
|
29
29
|
*/
|
|
30
30
|
var code = (0, getKeyCode_1.getKeyCode)(e);
|
|
31
31
|
if (code === 'Enter') {
|
|
32
|
-
|
|
32
|
+
//skeleton loader options are real entries in the options array while
|
|
33
|
+
//fetch is in flight; selecting one saves a junk value (mouse clicks
|
|
34
|
+
//are already guarded in ListItem)
|
|
35
|
+
if (options[focussedOp] && !options[focussedOp].loading)
|
|
33
36
|
handleSelect(options[focussedOp]);
|
|
34
37
|
}
|
|
35
38
|
else if (code === 'ArrowDown') {
|