Skip to content

Disable search box autofocus#12229

Merged
techknowlogick merged 3 commits into
go-gitea:masterfrom
silverwind:no-autofocus
Jul 27, 2020
Merged

Disable search box autofocus#12229
techknowlogick merged 3 commits into
go-gitea:masterfrom
silverwind:no-autofocus

Conversation

@silverwind
Copy link
Copy Markdown
Member

@silverwind silverwind commented Jul 12, 2020

Various pages like the issue list autofocus their search box which I find rather intrusive because more often than not I don't want to type into the search box, it's distracting if the focus jumps after page load. Disable this behaviour.

@lafriks lafriks added the topic/ui Change the appearance of the Gitea UI label Jul 12, 2020
@lafriks lafriks added this to the 1.13.0 milestone Jul 12, 2020
@silverwind silverwind changed the title Disable search box autofoxus Disable search box autofocus Jul 13, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jul 16, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 16, 2020
Comment thread templates/explore/code.tmpl Outdated
Comment thread templates/explore/search.tmpl Outdated
Comment thread templates/repo/issue/search.tmpl Outdated
Various pages like the issue list autofocus their search box which I find rather intrusive because more often than not I don't want to type into the search box, it's distracting if the focus jumps after page load. Disable this behaviour.
@silverwind
Copy link
Copy Markdown
Member Author

@lunny updated to only disable on issue/pr pages.

@techknowlogick
Copy link
Copy Markdown
Member

🚀

@techknowlogick techknowlogick merged commit 859094e into go-gitea:master Jul 27, 2020
@silverwind silverwind deleted the no-autofocus branch July 27, 2020 10:23
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. topic/ui Change the appearance of the Gitea UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants