Skip to content

Commit

Permalink
add scroll to view on gain focus (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmoulton authored Oct 20, 2024
1 parent fc25680 commit 13dc9fb
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 13dc9fb

Please sign in to comment.