Assign editors as text input handlers
Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
co-authored by
Marshall
parent
b2ae08b159
commit
bd12e3edb6
@@ -2624,7 +2624,7 @@ impl Element<Editor> for EditorElement {
|
||||
});
|
||||
|
||||
if editor.focus_handle.is_focused(cx) {
|
||||
cx.set_input_handler(editor.handle);
|
||||
cx.handle_text_input();
|
||||
}
|
||||
|
||||
cx.with_content_mask(ContentMask { bounds }, |cx| {
|
||||
|
||||
Reference in New Issue
Block a user