Bug 265100 - Getting stuck in 'datalist' suggestion rather than increment and decrement value
Summary: Getting stuck in 'datalist' suggestion rather than increment and decrement value
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-18 18:12 PST by Ahmad Saleem
Modified: 2023-12-05 12:27 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-11-18 18:12:01 PST
Hi Team,

While looking into test case from bug 84343, I noticed that Safari / Webkit get stuck in suggestion in specific case:

1) Open this: data:text/html,<input type=number list=dl1><datalist id=dl1><option>111111</datalist>

2) Press 'down' key and 'Enter' and it will show 'suggestion'

3) Continue with pressing 'down' key few times

4) Now, increment with pressing 'up' key - till you reach suggested value

Actual Output:

Once it reaches 'suggested' value, it get stuck in 'suggested value' drop-down and don't increment further.

Expected Ouptut:

It should increment as it is natural design and 'suggestion' should not show-up again.

Just wanted to raise.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-11-25 18:12:14 PST
<rdar://problem/118795988>
Comment 2 Aditya Keerthi 2023-12-05 12:27:33 PST
Thanks for the report! Firefox has the same behavior as WebKit, but Chrome does not.

I agree that the current behavior is undesirable, and that the suggestion should not show up when the content is modified using the arrow keys.