UWP TextBox will Fill of the Page if they display text with too many combining marks
See original GitHub issueDescribe the bug
When we use the TextBox to display text with too many combining marks that the TextBox will fill with the Page and then it can fix after we focus the TextBox.
Steps to reproduce the bug
Steps to reproduce the behavior:
- Create a TextBox in xaml
- Display text with too many combining marks
xaml:
<Grid>
<TextBox x:Name="Txt" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBox>
</Grid>
code:
public MainPage()
{
this.InitializeComponent();
Txt.Text = new string('\u0483', 550);
}
Then you can see the Screenshots after you run the application.
Expected behavior
At startup, the TextBox fills the entire page.
Screenshots
Version Info
NuGet package version:
Microsoft.NETCore.UniversalWindowsPlatform 6.1.9
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
October 2018 Update (17763) | Yes |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) | |
Anniversary Update (14393) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Mobile | |
Xbox | |
Surface Hub | |
IoT |
Additional context
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
UWP TextBox resize issue with a long text
I found an answer by setting the width of the TextBox programmatically. So when the app is resized TextBox also gets resized and...
Read more >TextBox.MaxLength Property (Windows.UI.Xaml.Controls)
Gets or sets the value that specifies the maximum number of characters allowed for user input.
Read more >Textbox string concatenation
I have a UI Text element that I am trying to populate with a script at run time. I am basically looking to...
Read more >WebForms TextBox Overview - Demos - Telerik
Telerik RadTextBox is a highly customizable component for text inputs in ASP.NET applications. It shares the common properties of all RadInput controls, ...
Read more >XFINIUM.PDF - PDF library for .NET, Windows Forms, ASP. ...
Additional characters are displayed when rendering PDF pages - fixed — Form fields cannot be added to document if form's /Fields array contains...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@StephenLPeters Since this is a TextBox internal issue, I think needs to wait until WinUI 3 arrives.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.