fix: widget unfocus on mouse click
This commit is contained in:
parent
6f2c893cf5
commit
5474232796
3 changed files with 3 additions and 44 deletions
|
|
@ -371,9 +371,6 @@ impl<T: Application> Cosmic<T> {
|
|||
}
|
||||
|
||||
Message::KeyboardNav(message) => match message {
|
||||
keyboard_nav::Message::Unfocus => {
|
||||
return keyboard_nav::unfocus().map(super::Message::Cosmic)
|
||||
}
|
||||
keyboard_nav::Message::FocusNext => {
|
||||
return iced::widget::focus_next().map(super::Message::Cosmic)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue