Hacker News new | ask | show | jobs
by stuartloxton 1573 days ago
The "invisible buffer" doesn't match OS X functionality (with Firefox if it matters).

In the state dropdown of the article I can type "New J" to highlight "New Jersey" and then press backspace + "Y" and it will highlight "New York". In the headless UI version if I try similar "To" to get "Tom…" but if I press backspace and "a" I don't get "Tanya…" I get "Arlene…"

3 comments

On Firefox on Linux, I get a different incorrect behavior. "To" + backspace + "a" (fast enough that it doesn't trigger the timeout for starting a new search) remains on "Tom...".
I just tried this with a native <select> in Safari, Chrome, and Firefox and they all worked like the Headless UI version, where a single backspace clears your entire buffer.
Also, it doesn't let you type-to-select when the box is focused but the dropdown is not expanded.