#34696: Actions selection counter gets cleared when using Chrome's back button
--------------------------------------+------------------------------------
Reporter: Cauê Thenório | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
--------------------------------------+------------------------------------
Comment (by Cauê Thenório):
I did a test here with different browsers on MacOS:
- Chrome 113 keeps rows selected and the counter is reset ❌
- Safari 16.5 keeps rows selected and the counter is updated ✅
- Firefox 115 clear selection and the counter is updated ✅
Each browser has a different behavior but only Chrome gets the counter out
of sync.
Based on this discussion: https://github.com/django/django/pull/15938, it
looks like it was decided to keep Chrome's behavior as users may get used
to this behavior when using Chrome, and it saves user's work compared with
Firefox, where the user will need to reselect previously selected rows.
Yes Marcelo Galigniana, I would like to work on a patch. I believe it will
be a couple of the lines, to call the `updateCounter` function when the
page loads.
--
Ticket URL: <https://code.djangoproject.com/ticket/34696#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070189303693c6-e1c51cbe-b57e-4e8e-8a85-5b34a6465188-000000%40eu-central-1.amazonses.com.