diff --git a/zk/src/main/resources/web/js/zk/ext/inputdevicecapabilities-polyfill.js b/zk/src/main/resources/web/js/zk/ext/inputdevicecapabilities-polyfill.js index b3a6dc4c87..6af84f1a5f 100644 --- a/zk/src/main/resources/web/js/zk/ext/inputdevicecapabilities-polyfill.js +++ b/zk/src/main/resources/web/js/zk/ext/inputdevicecapabilities-polyfill.js @@ -87,7 +87,7 @@ return null; // touch events may not be supported by this browser at all (eg. IE desktop). - if (!('TouchEvent' in global)) + if (!('TouchEvent' in globalThis)) // cannot use global here for webpack imports. return nonTouchDevice; // Touch events are always generated from devices that fire touch events. diff --git a/zkdoc/release-note b/zkdoc/release-note index 269ff9f9bd..8f8fd0cbbc 100644 --- a/zkdoc/release-note +++ b/zkdoc/release-note @@ -44,6 +44,7 @@ ZK 10.0.0 ZK-5639: stepbox wrong color update ZK-5635: textbox cannot focus on iPad/iPhone ZK-5647: Wrong groupbox layout on touch screen + ZK-5636: fail to toggle grid's detail on iPad/iPhone * Upgrade Notes + Upgrade commons-fileupload to commons-fileupload2-javax 2.0.0-M2 and commons-io to 2.13.0 to support jakarta-friendly uploads