Skip to content

Commit

Permalink
Fix KeyPressed event being always Captured by TextInput
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Mar 28, 2022
1 parent e66a79f commit f670000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/src/widget/text_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,9 +532,9 @@ where
}
_ => {}
}
}

return event::Status::Captured;
return event::Status::Captured;
}
}
Event::Keyboard(keyboard::Event::KeyReleased { key_code, .. }) => {
let state = state();
Expand Down

0 comments on commit f670000

Please sign in to comment.