Page MenuHomePhabricator

Special:Search shouldn't change focus after I've done something
Closed, ResolvedPublic


  1. Start loading Special:Search (optionally with some parameters)
  2. Do something, for instance

a) enter the search bar and type something,
b) scroll down to see the results,
c) press the page down or down arrow keys.

I. Expected:
a) I can type uninterrupted;
b) I can scroll continuously;
c) buttons work as normal.

II. Observed: at some point, after the page is done loading (usually many seconds before the initial HTML is shown), the cursor moves to the beginning of the search bar and
a) my typing is interrupted or disrupted, messing up my words;
b) my scrolling is reverted;
c) I have to click outside the search bar for page down to work.

Al this is extremely annoying and it's been going on for a while now.

Event Timeline

Nemo_bis raised the priority of this task from to Medium.
Nemo_bis updated the task description. (Show Details)
Nemo_bis added a project: MediaWiki-Search.
Nemo_bis changed Security from none to None.
Nemo_bis added subscribers: Nemo_bis, aripstra.

I am a newbie and I would like to work on this bug.
Can you assign it to me?

Can you assign it to me?

No need, you do what you prefer. However, please consider picking one of the

Namit: Welcome! You can assign this task to yourself via "Reassign / Claim" in the "Action" dropdown.

Change 180402 had a related patch set uploaded (by Namit):
Special:Search loses focus after I've done something


Change 180402 merged by jenkins-bot:
Special:Search Don't autofocus search bar unless it is empty

Umherirrender added a subscriber: Umherirrender.

Fix will be part of Version 1.25wmf14 - see for the timeline