Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): fixes OSK viewport scaling on iOS devices #10035

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

jahorton
Copy link
Contributor

@jahorton jahorton commented Nov 21, 2023

Happened upon this one via Safari's "All Exceptions" breakpoint while investigating something else.

There's a broken this ref in getViewportScale that was introduced by the modularization work. The method was originally part of the old kmwutils code (representing the keyman.util object) as seen in this commit of #8808.

This would only have been noticeable on iOS devices, and only on 17.0 alpha.

I then noticed that the method was essentially duplicated within the app/browser target, so I DRYed it out upon noticing - it's a pretty simple export and import.

@keymanapp-test-bot skip

@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S26 milestone Nov 21, 2023
@jahorton jahorton merged commit 6b8a06a into master Nov 22, 2023
16 checks passed
@jahorton jahorton deleted the fix/web/getViewportScale-this branch November 22, 2023 01:23
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.215-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants