When releasing a modifier key like control, the modifiers reported are different.
windows:
Keyboard event: KeyboardEvent { state: Up, key: Named(Control), code: ControlLeft, location: Left, modifiers: Modifiers(0x0), repeat: false, is_composing: false }
web:
Keyboard event: KeyboardEvent { state: Up, key: Named(Control), code: ControlLeft, location: Left, modifiers: Modifiers(CONTROL), repeat: false, is_composing: false }