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

Ionic 4 with capacitor on iPhone landscape keyboard focus not right: iphone 8 #16676

Closed
stripathix opened this issue Dec 11, 2018 · 4 comments
Closed
Labels

Comments

@stripathix
Copy link

Bug Report

Ionic version:

[x] 4.x

Current behavior:

On clicking on any input field on the iPhone landscape page shift is wrong. input field goes out of view and even on some screens keyboard is hidden behind a keyboard.

https://youtu.be/kveJ663r-oA

screenshot 2018-12-11 at 3 03 45 pm

Expected behavior:
On clicking on input field focus should be right

Steps to reproduce:

Related code:

<div class="ion-page">
  <ion-header>
    <ion-toolbar color="dark">
      <ion-buttons slot="start">
        <menu-button></menu-button>
      </ion-buttons>
      <ion-title>
        Developer
      </ion-title>
    </ion-toolbar>
  </ion-header>
  <ion-content class="hasfooter">
    <ion-list>
      <ion-item>
        <ion-label position="stacked">Service Host</ion-label>
        <ion-input :value="serviceHost" @ionInput="serviceHost = $event.target.value" placeholder="Enter Service Host"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">Test1</ion-label>
        <ion-input :value="serviceHost" @ionInput="serviceHost = $event.target.value" placeholder="Enter Service Host"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">Test2</ion-label>
        <ion-input :value="serviceHost" @ionInput="serviceHost = $event.target.value" placeholder="Enter Service Host"></ion-input>
      </ion-item>
      <ion-item>
        <ion-label position="stacked">test3</ion-label>
        <ion-input :value="serviceHost" @ionInput="serviceHost = $event.target.value" placeholder="Enter Service Host"></ion-input>
      </ion-item>
    
    </ion-list>
  </ion-content>
  <ion-footer>
    <ion-toolbar color="dark">
    </ion-toolbar>
  </ion-footer>
</div>

Other information:

Ionic info:

"@capacitor/android": "1.0.0-beta.11",
		"@capacitor/cli": "1.0.0-beta.11",
		"@capacitor/core": "1.0.0-beta.11",
		"@capacitor/ios": "1.0.0-beta.11",
"@ionic/core": "4.0.0-beta.17",
		"@ionic/vue": "0.0.1",
@ionitron-bot ionitron-bot bot added the triage label Dec 11, 2018
@paulstelzer
Copy link
Contributor

paulstelzer commented Dec 11, 2018

Thanks for your issue! This is related to Capacitor. Please see here -> ionic-team/capacitor#814 - And if you think it's not match the issue, please open a new issue at capacitor because the @ionic/core has no influence at the native keyboard

@stripathix
Copy link
Author

Thanks, @paulstelzer for a response. Is this is issue discussing the same thing? I think they are discussing the solution of when keyboard is hidden then UI comes back to right position. But I am pointing out that when keyboard is opened then the input box goes out of view box.

Should I open separate issue with Cordova?

Solutions suggested in this thread (ionic-team/capacitor#814) did not fix my issue

@paulstelzer
Copy link
Contributor

If this is an issue for Cordova keyboard, too, then you can open an issue ticket here -> https://github.com/ionic-team/cordova-plugin-ionic-keyboard

If you think you found a new issue, that nobody has mentioned yet, so feel free to open a new issue here at Capacitor -> https://github.com/ionic-team/capacitor/issues

@ionitron-bot
Copy link

ionitron-bot bot commented Jan 10, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants