-
Notifications
You must be signed in to change notification settings - Fork 71
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
Decimal button out of place on iPhoneX #19
Comments
Same issue here... going to see if I can fix it at some point. |
A fix would be awesome! Definitely need a number pad like this for a few apps in production. |
both the color and position should be changed. @CosmicWebServices any PR ? |
I did not really have time to figure it out yet. Others can try it out if they want to. |
Has anyone solved this problem? |
I cannot figure out how to work this... And with the introduction of the new phones this is an even more important bug to fix |
I solved this in my fork by refactoring how the button position rect is calculated relative to the other numeric keyboard buttons: https://github.com/aiba/cordova-plugin-decimal-keyboard I'd be happy to prepare a pull request if this project is still alive. |
@aiba I tested your fork and it does not show the decimal button. I have tried this:
|
@fermedina that's weird, i just tried that exact tag and it works for me. What combo of simulator/iOS/device type are you testing with? Also, how did you install my fork? Since I didn't publish it to any of the npm repos, you'd have to install it from its git address using Finally, if it's still not working, check the XCode log for a line that says "Positioning decimalButton at {{-2, 162}, {110, 54}}". Currently my fork logs the position of the decimal button in this way. |
@aiba I tested in my Ionic 3 application. I tried on my iPhone X. I installed your fork using the full URL just like you say. I will search your log |
@aiba on my iPhone X with iOS 12.1 the decimal button doesn't appear, but in the simulator it appears.
|
I don't think the keyplane warning is a problem. Every device or simulator I've tried this on has some sort of warning like that. On my physical iPhone XS Max running 12.1, It prints:
But the fact that it computed the decimalButton bounds as I wish I had some way of reproducing this. If you're willing to share your xcode project with me privately, I'd be happy to debug from that. Or if you could make a minimal example that I could use to reproduce, that would be ideal. |
Hey guys, |
I've been using my fork (updated to work on iPhoneX), and it's been working great for me. I personally use an iPhone XS Max, and several of my app's users have iPhone X devices, and the decimal keyboard works for all of them. So, I recommend: |
great, I'll give it a shot! Thank you |
@aiba working - thank you! |
The decimal button needs to be bumped up on iPhone X.
The text was updated successfully, but these errors were encountered: