﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33511	Single-select admin autcomplete widget has lost its auto-focus	julian@pinabausch.org	nobody	"Dear Django team,

here’s a bug in Django admin related to the autocomplete fields functionality.

I believe that the single-select autocomplete widget does not auto-focus the input field anymore since Django 4 has been released.

I've been checking myself, but couldn't track down the issue.
I checked https://github.com/django/django/tree/main/django/contrib/admin/static/admin/js for a breaking change introduced in 4.0.
The release log doesn't mention anything either: https://docs.djangoproject.com/en/4.0/releases/4.0/#django-contrib-admin

Current behavior:

Inside any change form view, click a field that is single-select with auto-complete enabled.
A panel opens. It has a search field and shows the initial batch of results.
The search field is not focused automatically (like it used to be in 3.x).

(see screenshot)

Expected behavior:

Same as above, but with the search field being focused."	Bug	closed	contrib.admin	4.0	Normal	duplicate			Unreviewed	0	0	0	0	1	1
