Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Another limitation is that you cannot automatically put the focus on an input field, unless it originated as a response to a user action.

This is actually an intentional limitation of all mobile versions of WebKit, and it's driving me nuts too. See: http://discussion.forum.nokia.com/forum/showthread.php?12772...

The official explanation I've seen is that it would be jarring to the user for the page to automatically zoom and/or scroll by popping up a keyboard when the user isn't expecting it. This might make some sense for websites, but unfortunately has a side effect of crippling web apps. :(



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: