Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Resign keyboard on transition (#2122)
Browse files Browse the repository at this point in the history
* resigns keyboard after selecting issue

* add code comment
  • Loading branch information
BrianLitwin authored and rnystrom committed Aug 16, 2018
1 parent 88d5fa7 commit 398edf2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ final class RepositorySummarySectionController: ListGenericSectionController<Rep
guard let number = self.object?.number else { return }
let issueModel = IssueDetailsModel(owner: repo.owner, repo: repo.name, number: number)
let controller = IssuesViewController(client: client, model: issueModel)
viewController?.view.endEditing(false) // resign keyboard if it was triggered to become active by SearchBar
viewController?.navigationController?.pushViewController(controller, animated: trueUnlessReduceMotionEnabled)
}

Expand Down

0 comments on commit 398edf2

Please sign in to comment.