We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051856c commit f7737e4Copy full SHA for f7737e4
Microsoft.Toolkit.Uwp.UI.Controls/TokenizingTextBox/TokenizingTextBox.cs
@@ -497,7 +497,7 @@ private void GuardAgainstPlaceholderTextLayoutIssue()
497
// We toggle the visibility of the Placeholder ContentControl in order to force it's layout to update properly
498
var placeholder = ContainerFromItem(_lastTextEdit).FindDescendantByName("PlaceholderTextContentPresenter");
499
500
- if (placeholder.Visibility == Visibility.Visible)
+ if (placeholder?.Visibility == Visibility.Visible)
501
{
502
placeholder.Visibility = Visibility.Collapsed;
503
0 commit comments