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
- if (options[focussedOp])
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') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",