New issue
Advanced search Search tips

Issue 638248 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Whenever a key down event is reported by webview, and if the user input is a special character then the key event object value.property is empty.

Reported by sirius.p...@gmail.com, Aug 16 2016

Issue description

Steps to reproduce the problem:
 To recreate this issue use the code provided in the below URL in a webview app 
                       for example :  If the user inputs following characters    123$5  then key down event.currentTarget.value is null  . 
            https://jsfiddle.net/pur1o02g/7/

What is the expected behavior?
the key down event.currentTarget.value need to return a error code when special characters are present or must return value that contains "123$5"

What went wrong?
null value is return by event.currentTarget.value for key down when user input 123$5 (i.e. a string containing special characters such as $ )

Did this work before? No 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: 5.x, 6.x and 7.0
Flash Version: NA
 

Comment 1 by torne@chromium.org, Aug 16 2016

Components: -UI Mobile>WebView

Comment 2 by boliu@chromium.org, Aug 18 2016

Labels: Needs-Feedback
your example doesn't work apparently, at least on desktop version, here's one that's just logging it to console with inline js:
https://jsfiddle.net/vnp16cq8/

then tried that on webview, and I'm confused about your bug, because I see the numbers keyboard, and there is no dollar sign key

but ".", "_", "-", ",", and backspace key all generate keydown events that print out the current input, so that looks to be working perfectly fine to me

actually what version of webview are you using?
Project Member

Comment 3 by sheriffbot@chromium.org, Sep 18 2016

Status: Archived (was: Unconfirmed)
No feedback was received in the last 30 days from reporter "sirius.programmer@gmail.com", so archiving this. Please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
>>actually what version of webview are you using?
you need to try this on Android running any webview version as this is reproducible on all webview version from 43.xx  to 53.xx (latest one)

Sign in to add a comment