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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/