Skip to content

Commit

Permalink
add scroll to view on gain focus
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmoulton committed Oct 20, 2024
1 parent f1eb90e commit e4ed233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ impl AppState {
id.request_style_recursive();
}
id.apply_event(&EventListener::FocusGained, &Event::FocusGained);
id.scroll_to(None);
}

if let Some(old_id) = old {
Expand Down

0 comments on commit e4ed233

Please sign in to comment.