fix: request redraw in text input when needed

This commit is contained in:
Hojjat 2026-08-04 13:58:47 -06:00 • committed by Ashley Wulber
parent 5fd1ca4220
commit 31ec448bf0

View file

@ -1680,6 +1680,7 @@ pub fn update<'a, Message: Clone + 'static>(
state.last_click = Some(click);
shell.request_redraw();
shell.capture_event();
return;
} else {
@ -1746,6 +1747,7 @@ pub fn update<'a, Message: Clone + 'static>(
.cursor
.select_range(state.cursor.start(value), position);
shell.request_redraw();
shell.capture_event();
return;
}
@ -2099,6 +2101,7 @@ pub fn update<'a, Message: Clone + 'static>(
_ => {}
}
shell.request_redraw();
shell.capture_event();
return;
}