[Django] #33828: Admin's autocomplete_fields don't autofocus when opened

4 views
Skip to first unread message

Django

unread,
Jul 6, 2022, 6:21:44 AM7/6/22
to django-...@googlegroups.com
#33828: Admin's autocomplete_fields don't autofocus when opened
-----------------------------------------+------------------------
Reporter: flbraun | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
After upgrading from Django 3.2 to 4.0, fields utilizing the Select2
widget in the admin don't get autofocus on their search field when clicked
on any more.

There is an [https://github.com/select2/select2/issues/5993 open bug] with
Select2 regarding autofocus issues with jQuery 3.6.0. Django 4.0 upgraded
the vendored jQuery to that exact version, so I guess that's where the
issue comes from.

--
Ticket URL: <https://code.djangoproject.com/ticket/33828>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 6, 2022, 6:25:03 AM7/6/22
to django-...@googlegroups.com
#33828: Admin's autocomplete_fields don't autofocus when opened
-------------------------------+--------------------------------------
Reporter: flbraun | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate
* component: Uncategorized => contrib.admin


Comment:

Duplicate of #33504.

--
Ticket URL: <https://code.djangoproject.com/ticket/33828#comment:1>

Reply all
Reply to author
Forward
0 new messages