https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36580
Bug ID: 36580
Summary: Keydown event properties (keyCode and which) are both
deprecated
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Browser compatibility
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
According to MDN, keyCode
(https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode) and
which (https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which) are both
deprecated, though it doesn't look like any browsers have dropped support for
them yet.
We should look into adding a more current option to ensure future support.
KeyBoardEvent.key maybe?
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key I defer to
the folks who know more about front-end web design than me though. :)
These come up at least in shortcut.js...not sure where else they may be used.
--
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/