@fluid-topics/ft-floating-menu 2.1.18 → 2.1.20

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.
@@ -151,7 +151,7 @@ export class FtFloatingMenu extends FtLitElement {
151
151
  }
152
152
  }
153
153
  onKeyDown(e) {
154
- if (e.code == "Escape") {
154
+ if (e.key == "Escape") {
155
155
  this.closeMenu();
156
156
  e.stopPropagation();
157
157
  }