Bug 265100

Summary: Getting stuck in 'datalist' suggestion rather than increment and decrement value
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.