Skip to content

Commit

Permalink
fix(ios): ios-host adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed Apr 9, 2024
1 parent 786c480 commit 829d40f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ function getOskWidth() {

function getOskHeight() {
var height = oskHeight;
if(keyman.osk.banner._activeType != 'blank') {
if(keyman.osk && keyman.osk.banner._activeType != 'blank') {
height = height - keyman.osk.banner.height;
} else {
height = height - (bannerHeight ? bannerHeight : 0);
}
return height;
}
Expand Down

0 comments on commit 829d40f

Please sign in to comment.