Skip to content

Commit

Permalink
Fix clicking outside textbox to unfocus
Browse files Browse the repository at this point in the history
  • Loading branch information
toftpokk authored and jackpot51 committed Dec 22, 2024
1 parent 647d291 commit c6cd819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/text_box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,8 @@ where
}

status = Status::Captured;
} else {
state.is_focused = false;
}
}
Event::Mouse(MouseEvent::ButtonReleased(Button::Left)) => {
Expand Down

0 comments on commit c6cd819

Please sign in to comment.