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 dbf196d commit 422fa6cCopy full SHA for 422fa6c
Microsoft.Toolkit.Uwp.UI.Controls.Input/TokenizingTextBox/TokenizingTextBox.cs
@@ -532,7 +532,7 @@ private void GuardAgainstPlaceholderTextLayoutIssue()
532
//
533
// To combat this issue:
534
// We toggle the visibility of the Placeholder ContentControl in order to force it's layout to update properly
535
- var placeholder = ContainerFromItem(_lastTextEdit).FindDescendant("PlaceholderTextContentPresenter");
+ var placeholder = ContainerFromItem(_lastTextEdit)?.FindDescendant("PlaceholderTextContentPresenter");
536
537
if (placeholder?.Visibility == Visibility.Visible)
538
{
0 commit comments