-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
bug(web): the in-app Khmer Angkor caption name doesn't fit on the OSK's Spacebar on mobile devices #11203
Comments
A comment on https://forums.developer.apple.com/forums/thread/128293 has the solution. The actual problem: By default, the Safari WebView applies a minimum text size; if text is told to display smaller than that, it will force the font size to be larger. At present, that minimum appears to be |
Without Note how the spacebar caption is properly scaled once the WebView's font-size thresholding behavior is disabled. With |
Oh cute. Android-Chrome's WebViews do it too, locking to a minimum of 8px. ... and the threshold-disabler for Safari WebViews doesn't work there. Gonna have to do some searching to find the correct version to use there, I suppose. And... this seems to work... for fixed-size font specifications: https://issuetracker.google.com/issues/237374578#comment2
If the font-size is relative, Android-Chrome's WebViews will still force a minimum of 8px. |
... and it's not just when embedded in application WebViews. Standalone iOS Safari is subject to this as well - and it is subject to the same "fixed size" vs "relative size" behavior noted in the last comment for Android-Chrome WebViews. Interestingly, it does not require In fact, using a fixed-size spec within a Safari WebView appears sufficient to bypass any need for |
I suggest we postpone this to 18.0. It's not a new issue for beta and it's purely visual aesthetic, not functional. |
See also #10699; same issue, different keyboard. |
Comments from #11207, which we have decided to abandon:
Note that it is possible for keyboard developers to edit the language name: (as set for Thus, it is within reason to punt cases like this back to keyboard authors and/or to fix it ourselves for keyboards. Some keyboards (like |
Note: the current language-name default for |
Describe the bug
I noticed that after installing the Khmer Angkor keyboard, the caption name does not fit on the OSK's Spacebar.
Reproduce the bug
Here, I noticed the the Khmer Angkor caption name does not fit into the space bar key.
Note: It is working fine on Android OS.
..in Android Mobile
..in iPhone Mobile
Expected behavior
Khmer Angkor Caption name should be fully visible on the Spacebar key.
Related issues
No response
Keyman apps
Keyman version
17.0.303-beta
Operating system
iOS 17.4
Device
iPhone 13 Mobile
Target application
No response
Browser
No response
Keyboard name
khmer_angkor
Keyboard version
1.3
Language name
Khmer
Additional context
No response
The text was updated successfully, but these errors were encountered: