You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue was textFieldDidEndEditing getting called multiple times, cause the function 'viewMovedown' gets called multiple times -> animation multiple times.
Solution,
fire endEditing event only once, what I did was comment out code below in private func didSelectPlacemark()
The issue was textFieldDidEndEditing getting called multiple times, cause the function 'viewMovedown' gets called multiple times -> animation multiple times.
Solution,
fire endEditing event only once, what I did was comment out code below in private func didSelectPlacemark()
//self.searchbar.textFieldDidEndEditing(self.searchbar.textInput)
// Dismiss search results view
//self.showSearchResultsView(false) //
then add self.searchbar.endEditing(true) in
// Configure searchResultsView
searchResultsView = SearchResultsView(didSelectAction: { [weak self] (placemark) in
guard let self = self else { return }
self.didSelectPlacemark(placemark)
self.searchbar.endEditing(true)
})
let me know if you want me push the changes.
The text was updated successfully, but these errors were encountered: