             return
         }
         
-        if UIDeviceOrientationIsLandscape(UIDevice.currentDevice().orientation) {
-            self.hidden = true
-        } else if UIDeviceOrientationIsPortrait(UIDevice.currentDevice().orientation) {
+        if OrientationUtil.isPortrait() {
             self.hidden = false
+            self.didEnterText(currentText)
+        } else {
+            self.hidden = true
+            clearSuggestions()
         }
         
     }

    }
    
    private func getTitle(suggestion: String) -> NSAttributedString {
        guard let prefix = currentText else {
            return NSMutableAttributedString()
        }
        var title: NSMutableAttributedString!
        
        if let range = suggestion.rangeOfString(prefix) where range.startIndex == suggestion.startIndex {

    }
    
    func didEnterText(text: String) {
        currentText = text
        
        guard QuerySuggestions.isEnabled() && OrientationUtil.isPortrait() else {
            self.hidden = true
            return
        }
        
        guard !text.isEmpty else {
            clearSuggestions()
            return
