Share via

Textarea Content Truncation During Autofill in Microsoft Edge

Anonymous
2024-12-02T03:39:46+00:00

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>

  1. Save the HTML provided above into a file (e.g., test.html). Please not that textarea has to be very long say more than 3000 chars
  2. Serve the file via Nginx or similar server
  3. Access the file in Microsoft Edge

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.

  1. Observe the behavior of the <textarea>: • 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 | Website issues | Windows 11

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2025-02-24T18:13:13+00:00

    This problem is extremely serious and needs to be fixed urgently.

    We have been trying to understand the loss of data in some fields of our forms for weeks, but the field that was "causing" the problem is in a modal, so we could not see the content change on the screen.

    Now that we understand the problem and are simply tied up, our recommendation to our application users will probably be to switch to another browser.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-14T12:52:25+00:00

    Hi,

    We're struggling with the same issue. Is there any official bug reported for this?

    This is super critical issue as this leads to data loss and we spend a lot of time debugging/analysing what is happening in our application before we find out this is really caused by autofill feature in Microsoft Edge.

    Best Regards,

    /JW

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-12-03T06:25:48+00:00

    Hi, Arun_1981

    Thanks for visiting Microsoft Community.

    I wish I could handle your problem, however, it is more suitable for publishing on Microsoft Learn, more users post these issues there, you can click on "Ask a question", there are experts who can provide more professional solutions in that place.

    Here is a link to the forum where you can raise specific scenarios and share your idea to help solve the problem.

    Microsoft Edge - Microsoft Q&A

    Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding!

    Best regards

    Tommy Jin | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments