Datalist click under stationary cursor

#505427215 Filed 2026-04-23 Priority P3 Status: New

Live sampler

Reproducer

This page demonstrates the reported path for a text input with a datalist. The important part is that the pointer is already over where a suggestion will appear before the popup is opened again.

The native datalist popup opens below the input. Use this dashed area only as an approximate aiming guide. The real target is the visible native popup option that appears over this area.
Target after reopening: a visible option under the stationary pointer
No selection yet.

If the browser has the bug, the first click on an option under the stationary pointer may be ignored until the pointer crosses an option boundary.

Manual steps

1. Click the input and type "i" so datalist suggestions appear.
2. Press Escape to close the popup.
3. Move the pointer to the same screen location where one visible option appeared.
4. Without moving the pointer again, type another character or delete/retype to reopen suggestions.
5. Click the visible option directly under the stationary pointer.

Expected result

Click should commit the option

The input value should change to the clicked option and this page should log input/change events. The click should not require a prior mouse movement across an option boundary.

Observed buggy result

First click ignored

On affected builds, the option under the stationary pointer can look hovered, but the first click does not commit it. Moving away and back makes later clicks work.