Skip to content

Commit

Permalink
Merge pull request #288 from toya108/feature/little-fix
Browse files Browse the repository at this point in the history
fix keybord to close after touching view
  • Loading branch information
toya108 committed Feb 13, 2022
2 parents a846fd1 + 7d8fcb5 commit 3aecf98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RockMap/Presentation/Screen/Map/View/MapViewController.swift
Expand Up @@ -460,6 +460,10 @@ extension MapViewController: UISearchBarDelegate {
}
.store(in: &self.bindings)
}

override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
view.endEditing(true)
}
}

extension MapViewController: FloatingPanelControllerDelegate {
Expand Down

0 comments on commit 3aecf98

Please sign in to comment.