Hacker News new | past | comments | ask | show | jobs | submit login

This is incredibly hard to figure out. It’s not common sense to never touch the field while the user is interacting with it.

- do not prevent default

- do not limit my input to the exact number of characters

- do not listen to any event other than “blur” unless you’re updating another part of the UI in real time

I really wish that browsers gave control back to the users, and I say this as a FE developer.




> I really wish that browsers gave control back to the users

Exactly this. Browsers have stopped doing their job as the "User's Agent" and instead are acting more in the interest of web developers. Consequently, developers now see the browser window as a limitless empty canvas that they can just do whatever they want in, regardless of the user's desires.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: