Hello.
I’m linking a textBlock to a Panel to edit text. When I try to edit the text, if the original text’s length is long, it extends beyond the textarea, and it still appears in the background. I’ve tried various properties of the textBlock to solve this issue, but I can’t figure it out. How can I resolve this?
I will attach a picture of the issue I am experiencing here.
When the user edits text with the TextEditingTool and its text editor (by default a textarea), the diagram does not change until the user successfully finishes editing. That is why the original text remains visible when the textarea doesn’t cover the whole TextBlock.
You could customize the text editor so that the textarea always hides the whole TextBlock, or you could temporarily make the TextBlock.stroke “transparent”. There are other possibilities too. What do you want to happen?