fix: widget unfocus on mouse click

This commit is contained in:
Michael Aaron Murphy 2024-07-20 05:55:03 +02:00 committed by Michael Murphy
parent 6f2c893cf5
commit 5474232796
3 changed files with 3 additions and 44 deletions

View file

@ -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)
}