Microsoft Edge | Microsoft Edge development
Developing and testing features or extensions for Microsoft Edge
Hello,
I’ve encountered an issue in Microsoft Edge where the content of a <textarea> element gets visually truncated during autofill interactions. The truncation seems to occur after selecting a suggested value from the autofill dropdown in an adjacent <input> field. The issue is particularly noticeable when the <textarea> contains a very long text (approximately 3000 characters or more).
Steps to Reproduce:
<form>
<input type="text" id="name" autocomplete="on" placeholder="Enter your name">
<textarea id="comments" rows="10">
This is a long text that exceeds 3000 characters to demonstrate the truncation issue in Edge.
(Repeat this or similar text to reach 3000 characters.)
</textarea>
</form>
4.Interact with the page as follows:
• Focus on the <input> field (name).
• Ensure the autofill dropdown appears.
• Hover over the suggestions in the autofill dropdown.
• Select a suggestion from the dropdown.
• Check if the text becomes visually truncated.
• Open the Developer Tools (F12) and inspect the DOM content of the <textarea>.
• Note that the full text remains in the DOM but is not fully rendered.
Expected Behavior
• The <textarea> should display all its content regardless of autofill interactions.
Observed Behavior
• The <textarea> content is visually truncated after selecting an autofill entry.
Thanks,
Microsoft Edge | Microsoft Edge development
Developing and testing features or extensions for Microsoft Edge
Microsoft Edge | Microsoft Edge development
Anonymous
Hi @ArunB_1981,
I can successfully reproduce this issue, but unfortunately, there's no solution currently. I suggest sending feedback to the Edge Dev Team to report this issue. You can send feedback in Microsoft Edge at ··· menu --> Help and feedback --> Send feedback. Thank you for your understanding.
As a workaround, you can temporarily use Edge Canary channel as it does not have this issue based on my test.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Shijie Li