@lemonadejs/dropdown 3.1.9 → 3.1.10

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -690,10 +690,14 @@ if (!Modal && typeof (require) === 'function') {
690
690
  prevent = true;
691
691
  } else if (e.key === 'Home') {
692
692
  moveCursor(-1, true);
693
- prevent = true;
693
+ if (! self.autocomplete) {
694
+ prevent = true;
695
+ }
694
696
  } else if (e.key === 'End') {
695
697
  moveCursor(1, true);
696
- prevent = true;
698
+ if (! self.autocomplete) {
699
+ prevent = true;
700
+ }
697
701
  } else if (e.key === 'Enter') {
698
702
  self.select(e, self.rows[cursor]);
699
703
  prevent = true;
package/package.json CHANGED
@@ -19,5 +19,5 @@
19
19
  },
20
20
  "main": "dist/index.js",
21
21
  "types": "dist/index.d.ts",
22
- "version": "3.1.9"
22
+ "version": "3.1.10"
23
23
  }