Browse Source

Make sure view is at front when shown

Ross Ferguson 5 years ago
parent
commit
01c83e8983
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Terminal.Gui/Views/TextFieldAutoComplete.cs

+ 2 - 0
Terminal.Gui/Views/TextFieldAutoComplete.cs

@@ -194,7 +194,9 @@ namespace Terminal.Gui {
 
 			listview.SetSource (searchset.ToList ());
 			listview.Height = CalculatetHeight ();
+
 			listview.Redraw (new Rect (0, 0, width, height)); // for any view behind this
+			this.SuperView?.BringSubviewToFront (this);
 		}
 
 		/// <summary>