Skip to content

backspace fails to clear values on input type='email' #11881

Open
@codeangler

Description

@codeangler

Do you want to request a feature or report a bug?
bug

What is the current behavior?
email input doesn't control for whitespace // possible variation on Issue 6368; however, 6368 shows up at 15.0.0 this bug shows up at 15.2

If the current behavior is a bug, demo

no bug in React 15.0.0
no bug in React 15.1.0
bug on React 15.2
React~15 fiddle

bug on React 16
React~16 fiddle

What is the expected behavior?

When a user presses down the backspace key and holds it, all values in the input are removed, including the whitespaces

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

Works on 15.1.0
bug at >= 15.2.0
testing on Chrome 63
MacOs Sierra 10.12

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions