fix(text_input): set read_only to false when focusing editable_input
This commit is contained in:
parent
ff3e4423f9
commit
5c6fa840f4
1 changed files with 1 additions and 0 deletions
|
|
@ -2512,6 +2512,7 @@ impl State {
|
||||||
pub fn focus(&mut self) {
|
pub fn focus(&mut self) {
|
||||||
let now = Instant::now();
|
let now = Instant::now();
|
||||||
|
|
||||||
|
self.is_read_only = false;
|
||||||
self.is_focused = Some(Focus {
|
self.is_focused = Some(Focus {
|
||||||
updated_at: now,
|
updated_at: now,
|
||||||
now,
|
now,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue