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

Focus on username input field on load. #528

Merged

Conversation

mattgoldspink
Copy link
Contributor

For some reason if I use Form.Input for the component the ref is always undefined, so had to switch it to Input.

Fixes #507

For some reason if I use Form.Input for the component the ref is always undefined, so had to switch it to Input.

Fixes slskd#507
@jpdillingham
Copy link
Member

Thanks! I think semantic-ui-react is a bit inconsistent with ref handling.

@jpdillingham jpdillingham merged commit fe8ef79 into slskd:master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set focus on username input when the login page loads
2 participants