#3467·iced

`text_editor` doesn't capture regular key presses

Author: EmmanuelDodooCreated Sep 14, 2026Updated Sep 14, 2026
Labelsbug

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

"Key presses in text_editor that don't have a key_binding set aren't captured, so they end up getting reported by keyboard::listen instead.

In this recording, the text editor fails to capture the / key press, so keyboard::listen picks it up instead and triggers an unrelated modal. https://github.com/user-attachments/assets/c7b70e32-cbbc-415c-8dfd-f1662c67af9f

What is the expected behavior?

Regular key presses should be captured by the text_editor

Version

master

Operating System

Windows

Do you have any log output?

bash