Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Set focus state #1145

Answered by Archmonger
yickysan asked this question in Question
Discussion options

I'm wondering if there's a way to set focus state in an element without writing any custom javaScript.

You must be logged in to vote

ReactJS does not have a focus prop.

At this time, the only way around this is writing JavaScript.

Replies: 1 comment

Comment options

ReactJS does not have a focus prop.

At this time, the only way around this is writing JavaScript.

You must be logged in to vote
0 replies
Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /