Skip to content

Commit

Permalink
focus scroller on startup so immediate keyboard scrolling is possible
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed May 21, 2023
1 parent c4647b4 commit 112a67f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/views/MainView.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ export default
document.addEventListener 'keyup', (e) =>
if e.key == "Escape"
selected_commits.value = []
commits_scroller_ref.value.$el.focus()


# It didn't work with normal context binding to the scroller's commit elements, either a bug
Expand Down

0 comments on commit 112a67f

Please sign in to comment.