Fall ce-0042 · Szenario scenario-input-event-duplication

Input events fire multiple times for single keystroke

OS: Windows 11 Gerät: Desktop or Laptop Any Browser: Edge 120.0 Tastatur: US Entwurf
inputeventsduplicationedge

Diese Seite wurde noch nicht übersetzt

Derzeit wird der englische Originalinhalt angezeigt. Wir freuen uns über Ihre Hilfe bei der Übersetzung.

Phenomenon

In Edge on Windows, the input event may fire multiple times for a single keystroke, causing event handlers to execute more than expected. This can lead to performance issues and incorrect behavior.

Reproduction example

  1. Create a contenteditable div.
  2. Add an event listener for the input event that logs each event.
  3. Type a single character.
  4. Observe how many times the input event fires.

Observed behavior

  • In Edge on Windows, the input event may fire 2-3 times for a single keystroke.
  • Event handlers are executed multiple times unnecessarily.
  • This can cause performance degradation and incorrect application behavior.

Expected behavior

  • The input event should fire exactly once per user input action.
  • Event duplication should not occur.
  • The event should accurately represent the actual input change.

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: Windows 11
Device: Desktop or Laptop Any
Browser: Edge 120.0
Keyboard: US
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.