[Koha-bugs] [Bug 30640] New: Focus does not always move to correct search header form field
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 28 13:55:57 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30640
Bug ID: 30640
Summary: Focus does not always move to correct search header
form field
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: minor
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 29155
The jQuery upgrade has introduced a bug with how the header search form is
supposed to handle focus. This can be seen in any page where the "Check out"
tab is present in the header search but not the pre-selected tab, e.g. the
patron detail tab.
On the patron details page the "Search patrons" tab is selected by default, and
the cursor focus is automatically put on the form field. Switch to the "Check
out" tab and you'll find that the focus doesn't move to the form field. The
other tabs don't have this problem.
I think this is the explanation: https://github.com/jquery/jquery/issues/4950
To fix we'll need to remove the "focus" class on form fields which might be
hidden by default and update the tabs behavior to make sure the right field is
focused on load.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29155
[Bug 29155] Upgrade jquery version to 3.6.0
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list