Skip to content

Commit

Permalink
Run the focus pass in post-processing for all events (#604)
Browse files Browse the repository at this point in the history
Requesting and resigning focus can happen when handling pointer and
accessibility events, not just keyboard events.

---------

Co-authored-by: Olivier FAURE <[email protected]>
  • Loading branch information
mwcampbell and PoignardAzur authored Sep 23, 2024
1 parent 0308db2 commit 37af4b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions masonry/src/render_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ impl RenderRoot {
run_update_focus_chain_pass(self);
}

run_update_focus_pass(self, widget_state);

if self.root_state().request_anim {
self.state
.signal_queue
Expand Down

0 comments on commit 37af4b9

Please sign in to comment.