Skip to content

Commit

Permalink
ZK-5635: textbox cannot focus on iPad/iPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Feb 17, 2024
1 parent 7c9c535 commit 8bb1056
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions zkdoc/release-note
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ ZK 10.0.0
ZK-5152: Client MVVM - Cascader should use TreeSelectableModel
ZK-4355: timebox' default cols is too small
ZK-5611: Executions.schedule() might fail if it's called by multiple threads
ZK-5635: textbox cannot focus 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
Expand Down
5 changes: 2 additions & 3 deletions zul/src/main/resources/web/js/zul/inp/InputWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,14 +730,13 @@ export class InputWidget<ValueType = unknown> extends zul.Widget<HTMLInputElemen
}

/** @internal */
_doTouch(evt: zk.Event): boolean {
_doTouch(evt: zk.Event): undefined {
if (!zk.ios) {
return false;
return;
}
//B65-ZK-1285: get window offset information before virtual keyboard opened on ipad
windowX = window.pageXOffset;
windowY = window.pageYOffset;
return false;
}

/** @internal */
Expand Down

0 comments on commit 8bb1056

Please sign in to comment.