Skip to content
New issue

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

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

Already on GitHub? # to your account

bug: Autofill Form in Browser Leaves Keyboard Artifact #2804

Closed
1 of 4 tasks
philmerrell opened this issue Apr 20, 2020 · 4 comments · Fixed by #2820
Closed
1 of 4 tasks

bug: Autofill Form in Browser Leaves Keyboard Artifact #2804

philmerrell opened this issue Apr 20, 2020 · 4 comments · Fixed by #2820

Comments

@philmerrell
Copy link

Bug Report

I've been updating to Cordova 2.0 and I've noticed an issue that wasn't present in 1.x when we use Browser to #to our OpenID provider on iOS.

Our authentication process must take place through the web so we open a capacitor browser. When I use the autofill feature in iOS to automatically fill out my credentials, there is a black space where the keyboard was after returning to the application.

https://www.youtube.com/watch?v=-kq2tatiif4

If I type in my username and password manually, everything works as expected.

https://www.youtube.com/watch?v=AXfh5k89a1Q

Capacitor Version

npx cap doctor output:

@capacitor/core 2.0.1

  @capacitor/android 2.0.1

  @capacitor/ios 2.0.1

  @capacitor/cli 2.0.1

Affected Platform(s)

  • Android
  • iOS
  • Electron
  • Web
@jcesarmobile
Copy link
Member

Can you provide a sample app?

@jcesarmobile jcesarmobile added the needs reply needs reply from the user label Apr 20, 2020
@philmerrell
Copy link
Author

philmerrell commented Apr 21, 2020 via email

philmerrell added a commit to philmerrell/AWS-Ionic-Starter that referenced this issue Apr 21, 2020
@philmerrell
Copy link
Author

I was able to reproduce the issue in a sample app:

https://github.com/philmerrell/AWS-Ionic-Starter/tree/ionic-browser-auth-test

The sample app is in the 'client' folder in the above branch, you can ignore the rest.

To reproduce the issue you don't need to # for an account.

  • Tap '#'
  • Enter in a username and password (doesn't have to be real) and tap '#' or 'Go' on keyboard.
  • When prompted, choose option to 'Save Password' to iCloud.
  • Now use the autofill feature to automatically fill in username and password.
  • Now tap the 'Done' on the browser.
  • Now back in the application, you should see the viewport has been reduced.

Here is the steps recreated in a video.

https://www.youtube.com/watch?v=MJyxnbecUWM

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 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 11, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants