Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
selimco
on Sept 22, 2024
|
parent
|
context
|
favorite
| on:
Sanding UI
I think space is usually the key that performs a click on focused buttons, not enter.
meindnoch
on Sept 22, 2024
|
next
[–]
It's up to the user agent. On one platform it's the spacebar, on another it's the return key. Of course, fake controls written in JS wouldn't be able to do this. Which is why it's the wrong thing to do.
two_handfuls
on Sept 22, 2024
|
prev
[–]
I was talking about the default button (typically blue, activated with enter), not the currently focused button (outlined, space).
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: