Skip to content

Conversation

@kuckjwi0928
Copy link
Contributor

Improvement, Add autofocus attribute to login page.
related issue: #1131

@codecov
Copy link

codecov bot commented Sep 20, 2019

Codecov Report

Merging #1132 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1132   +/-   ##
=======================================
  Coverage   75.98%   75.98%           
=======================================
  Files          55       55           
  Lines        8603     8603           
=======================================
  Hits         6537     6537           
  Misses       2066     2066

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f421e9d...9619c7b. Read the comment docs.

@MarcusSorealheis
Copy link

Did not see this when I opened this PR: #1135

@MarcusSorealheis
Copy link

You can ignore mine and just consider the approach but I recommend one thing, use cursor: auto because I have observed some browser issues with autofocus in the past.

@MarcusSorealheis
Copy link

@MarcusSorealheis
Copy link

and here: https://caniuse.com/#feat=autofocus

@kuckjwi0928
Copy link
Contributor Author

kuckjwi0928 commented Sep 20, 2019

@MarcusSorealheis

#loginbox #username {
	cursor: auto;
}

You mean this code?

But i've applied it, but it's not moving the focus

Isn't this property just specifying the shape of the cursor?

https://www.w3schools.com/cssref/pr_class_cursor.asp

@MarcusSorealheis
Copy link

MarcusSorealheis commented Sep 20, 2019 via email

@MarcusSorealheis
Copy link

MarcusSorealheis commented Sep 20, 2019 via email

Copy link
Owner

@dpgaspar dpgaspar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it and looks good

@dpgaspar dpgaspar merged commit 80a99aa into dpgaspar:master Sep 23, 2019
@dpgaspar dpgaspar mentioned this pull request Sep 27, 2019
@dpgaspar dpgaspar mentioned this pull request Oct 16, 2019
@nytai nytai mentioned this pull request Nov 6, 2019
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants