From 5c6fa840f4e75ce94075cb1c8d22623077821193 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Thu, 27 Jun 2024 15:48:06 +0200 Subject: [PATCH] fix(text_input): set read_only to false when focusing editable_input --- src/widget/text_input/input.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/text_input/input.rs b/src/widget/text_input/input.rs index 916a7e3d..d4722f20 100644 --- a/src/widget/text_input/input.rs +++ b/src/widget/text_input/input.rs @@ -2512,6 +2512,7 @@ impl State { pub fn focus(&mut self) { let now = Instant::now(); + self.is_read_only = false; self.is_focused = Some(Focus { updated_at: now, now,