@lemonadejs/contextmenu 5.2.1 → 5.2.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -375,6 +375,8 @@ if (! Modal && typeof (require) === 'function') {
375
375
  ret = true;
376
376
  }
377
377
  }
378
+ } else if (e.key === 'Escape') {
379
+ self.close(0);
378
380
  }
379
381
 
380
382
  // Something important happen so block any progression
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": "5.2.1"
22
+ "version": "5.2.3"
23
23
  }