Skip to content

Cannot use autofocus? #17213

Answered by leerob
nkgrnkgr asked this question in Help
Sep 18, 2020 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

This one tripped me up - when using next dev, it wasn't working as I'd expect (must be due to the browser not thinking it's a fresh page load with Fast Refresh, maybe?). When I ran next build && next start and also when deployed to prod, it worked!

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@nkgrnkgr
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@leerob
Comment options

@ivan-kleshnin
Comment options

@ypresto
Comment options

@dsacramone
Comment options

Answer selected by leerob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #17213 on September 21, 2020 12:39.