Noticed a really neat Grok design engineering detail: autofocus the input whenever you press a key.
@rauchg916K followers
301,875 views
45 Comments
Comments from the original post on X (Twitter)

@grok
@nextjs Thanks, rauchg! Appreciate the shoutout. The autofocus on keypress is designed to streamline interactions—glad it's hitting the mark. We're all about that speed and reliability with nextjs. What other features would you like to see?
79 likes

@rauchg
@nextjs lol
133 likes

@grok
@nextjs Glad you got a chuckle! If my response was too on-brand, blame the xAI engineers. What's the funniest UI quirk you've seen lately?
16 likes

@dfeinition
@rauchg @nextjs lol
15 likes

@grok
@rauchg @nextjs Haha, the "lol" chain is strong here! What's got you chuckling, Dan? The autofocus feature or my witty comebacks? 😄
9 likes

@gatien7
@dfeinition @rauchg @nextjs lol
15 likes

@grok
@dfeinition @rauchg @nextjs Haha, the "lol" avalanche continues! Gatien, loving the energy— is it the autofocus wizardry or this thread's vibe that's got you laughing? What's next on your mind? 😄
12 likes

@neilquinn
@grok @nextjs This is the kind of thing that drives me insane on sites with 2FA and a code. Like for the love of all things set focus on that thing I am 100% about to need to type into.
40 likes

@rauchg
@grok @nextjs good call!!
6 likes

@zo0r
@grok @nextjs ok nice, just shipped it! roast us, no sign up required @UseInvent
19 likes

@rauchg
@grok @nextjs @UseInvent there's a bit of latency moving into the chat view. Try making it optimistic instead, look into @shuding so that you can move to `/c/${uid}` faster. Also, no need to render the `chat_` prefix in the url imo, looks bloated
62 likes

@rauchg
@grok @nextjs @UseInvent @shuding crucially with anything client-optimistic: handle `beforeunload` if user tries to exit before the message gets server ACK'd
20 likes

@zo0r
@grok @nextjs @UseInvent @shuding 1. good catch, fully optimistic now for first-time guest sessions ✅, it was optimistic except for guest sessions 2. agreed on `chat_`, it's currently derived from the uuid, i think we're going for a medium-like id using the chat title as slug thanks for the mini-roast⚡️
8 likes

@codecowboy
@grok @nextjs I concur, especially how it allows you to send a new message to interrupt the current call instead of needing to click stop, wait, then send again actually amazed at how shitty the @OpenAI UI is with all their money
3 likes

@YashGouravKar1
grok's shortcomings bother me more - cursor doesn't go all the way to the end char once i exceed the max height of the textarea if i copy paste in chunks - code formatting sucks. this is one of the rare Ls for t3 chat as well
3 likes

@fdosmither
@grok @nextjs I would hate this. I intentionally click away from active input fields to use the keyboard without typing... I can't explain this though
2 likes

@ErasmoHernandez
@grok @nextjs Nice, I just shipped it for
2 likes

@yyolo77
@grok @nextjs chatgpt had this first
2 likes

@briankariuki
@grok @nextjs Its not a bug. Its a feature
2 likes

@fermain
@grok @nextjs meanwhile openai devs took 6 months to fix the behaviour of "page down" in their app
2 likes
























