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

change(ios): better handling for keyboard stability after background restoration #11259

Open
jahorton opened this issue Apr 19, 2024 · 0 comments
Labels
Milestone

Comments

@jahorton
Copy link
Contributor

After a bit more searching... maybe I've found something this time?

We'd need to test and see if this is being called when our app is restored in this scenarios to be sure it's tied to the behavior that's been seen, of course.

Ref: ionic-team/capacitor#5488 (comment)

The thing we need to be sensitive to is that when a WebView background termination occurs, webViewWebContentProcessDidTerminate() is invoked when the app is coming back into the foreground [...]

Noting other issues from ionic and from react, they've seen cases where the WebView is 100% crashed, showing a blank page. We haven't had that issue, though we also aren't navigating across pages or doing other fancy web-server stuff on the back-end - it's just one page for us... albeit with a WebWorker backend and linked-in JS scripts. There's a fair shot that iOS's WebView is doing its best to restore our page after such a termination but is coming up short.

One concerning thing here, though - these are big teams that are struggling to get this scenario right if this is indeed a match for our circumstances.

Originally posted by @jahorton in #10952 (comment)

@jahorton jahorton added this to the Future milestone Apr 19, 2024
@jahorton jahorton added the ios/ label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant