Skip to content

Hitting enter in a text box adds a space #20630

Closed

Description

@cbrewster

Test Case:
<input type="text"/>

  1. Type in textbox
  2. Hit enter
  3. Space is added to end of text

Activity

  1. added
    A-content/dom
    on Apr 12, 2018
  2. paulrouget commented on Apr 13, 2018

    @paulrouget
    Contributor

    If it's a regression, 2 PRs to check: #19895 and #20327

  3. atouchet commented on Apr 30, 2018

    @atouchet
    Contributor

    I don't think this is a recent regression at the very least. I've been able to reproduce the bug in builds going back to mid-2017. I haven't tested past that.

  4. kwonoj commented on Apr 30, 2018

    @kwonoj
    Contributor

    I could see some pictures around why this is happening (note: appended char is \r, not space) but need to simmer bit more time to present some PR to discuss further. I'll try bit more.

  5. yezhizhen commented on Jun 7, 2025

    @yezhizhen
    Member

    This problem no longer occurs. Can someone close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domA-input

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions