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

bug: iOS 13 - iPad landscape - input box refocus is broken after keyboard closes #2244

Closed
1 of 4 tasks
mesqueeb opened this issue Dec 13, 2019 · 2 comments
Closed
1 of 4 tasks

Comments

@mesqueeb
Copy link
Contributor

mesqueeb commented Dec 13, 2019

2019-12-13 15 30 12

Bug Report

Similar but not the same bug: #1366
That issue is for iOS12 and iPhone. Mine is for iOS 13 and iPad.

Capacitor Version

npx cap doctor output:

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 1.4.0

  @capacitor/core: 1.4.0

  @capacitor/android: 1.4.0

  @capacitor/ios: 1.4.0

Installed Dependencies:

  @capacitor/android not installed

  @capacitor/cli 1.3.0

  @capacitor/core 1.3.0

  @capacitor/ios 1.3.0


  Found 0 Capacitor plugins for ios:
[success] iOS looking great! 👌

Affected Platform(s)

  • Android
  • iOS
  • Electron
  • Web

Current Behavior

input box is not refocussed correctly after keyboard closes

Expected Behavior

input box to be refocussed

Sample Code or Sample Application Repo

Focus input box on iPad landscape iOS 13.
Then close keyboard.

Other Technical Details

npm --version output: 6.12.1

node --version output: v12.13.1

pod --version output (iOS issues only): 1.7.5

Other Information

@jcesarmobile
Copy link
Member

Sadly this is the webview behaviour, we can't know where the input box was to reposition.
This is usually handled pretty well by frameworks such as Ionic Framework, they use javascript for that.
You can also try to play around with the Keyboard plugin which has events for when the keyboard appears and disappears and allows different resize modes.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 13, 2022

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 Capacitor, please create a new issue and ensure the template is fully filled out.

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

No branches or pull requests

2 participants