@mcurros2/microm 1.1.78-0 → 1.1.79-0

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.
package/dist/index.js CHANGED
@@ -33374,12 +33374,12 @@ function $9e0f0f7fb3fe1bb5$export$4a22575e2f542f1f(props) {
33374
33374
  const isMyDropdownOpen = !!dropdown;
33375
33375
  if (!isMyDropdownOpen) {
33376
33376
  // FIX: refire escape two times as the Multiselect has focusTrap and messes with the modal
33377
- const escapeEvent = new KeyboardEvent("keydown", {
33377
+ const escapeEvent = new KeyboardEvent("keypress", {
33378
33378
  key: "Escape",
33379
33379
  bubbles: true
33380
33380
  });
33381
33381
  document.dispatchEvent(escapeEvent);
33382
- const escapeEvent2 = new KeyboardEvent("keydown", {
33382
+ const escapeEvent2 = new KeyboardEvent("keypress", {
33383
33383
  key: "Escape",
33384
33384
  bubbles: true
33385
33385
  });