The Wayback Machine - https://web.archive.org/web/20220321181532/https://github.com/facebook/react/pull/11543
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't emit autoFocus={false} attribute on the server #11543

Merged
merged 1 commit into from Nov 13, 2017

Conversation

gaearon
Copy link
Member

@gaearon gaearon commented Nov 13, 2017

Seems like I made a mistake in #11192.
Browsers don't treat autofocus="false" as truthy so we should use HAS_BOOLEAN_VALUE here.

Fixes the issue described in #11192 (comment).

Copy link
Member

@trueadm trueadm left a comment

LGTM

@gaearon gaearon merged commit afc5fab into facebook:master Nov 13, 2017
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants