Skip to content

refactor(web): close EventForm via queueMicrotask - #2686

Merged
tyler-dane merged 1 commit into
mainfrom
refactor/e6-eventform-close
Aug 8, 2026
Merged

refactor(web): close EventForm via queueMicrotask#2686
tyler-dane merged 1 commit into
mainfrom
refactor/e6-eventform-close

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Summary

  • Replace EventForm’s setTimeout(_onClose, 1) with queueMicrotask(_onClose)
  • Still defers unmount past the current Escape/menu turn; drops the arbitrary delay

Test plan

  • bun test:web (1846)
  • bun test:e2e (21)
  • Independent review clean
  • bun lint (warnings only)
  • CI green + staging deploy watch

Defer form unmount past the current Escape/menu turn without a 1ms
setTimeout delay.
@tyler-dane
tyler-dane merged commit 77a3572 into main Aug 8, 2026
20 checks passed
@tyler-dane
tyler-dane deleted the refactor/e6-eventform-close branch August 8, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant