Skip to content

Commit

Permalink
[SDK-704] feat: fix pasted text display issue (#183)
Browse files Browse the repository at this point in the history
- pasted subdomain now displays correctly
  • Loading branch information
HarrisonHough authored Dec 7, 2023
1 parent ce737b4 commit 5f855ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Editor/UI/EditorWindows/Templates/SubdomainTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private EventCallback<ChangeEvent<string>> SubdomainChanged(VisualElement errorI
errorIcon.visible = !IsValidSubdomain();
if (changeEvent.previousValue == partnerSubdomain) return;
subdomainField.SetValueWithoutNotify(partnerSubdomain);
subdomainField.Focus(); // forces text to resize, making new subdomain value visible
OnSubdomainChanged?.Invoke(partnerSubdomain);
};
}
Expand Down

0 comments on commit 5f855ff

Please sign in to comment.