pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.26k stars 1.6k forks source link

Cannot type when using mac keyboard on ios simulator #939

Closed FeliksLv01 closed 3 years ago

FeliksLv01 commented 3 years ago

Environment

Technology Version
Flutter version 2.0.1
Plugin version 5.3.2
Android version 11
iOS version 14.5
Xcode version 12.5

Device information: iPhone12 Pro Max Simulator

Description

Expected behavior: can use mac keyboard typing in webview

Current behavior: cannot type when using mac keyboard on ios simulator, can type when using softward keyboard, and android simulator is ok

Steps to reproduce

  1. open http://sso.jwc.whut.edu.cn/Certification/login.do in webview
  2. use mac keyboard and then click the input
github-actions[bot] commented 3 years ago

👋 @kcqnly

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

sunjianan9900 commented 3 years ago

Same question 你找到解决方案了吗?我发现不仅不能输入文字,也不能弹出虚拟键盘

FeliksLv01 commented 3 years ago

Same question 你找到解决方案了吗?我发现不仅不能输入文字,也不能弹出虚拟键盘

没有,这应该不是这个pub库的问题,而是flutter platform view的问题

sunjianan9900 commented 3 years ago

Same question 你找到解决方案了吗?我发现不仅不能输入文字,也不能弹出虚拟键盘

没有,这应该不是这个pub库的问题,而是flutter platform view的问题

I/O > Keyboard > Connect Hardware Keyboard 把使用硬件键盘输入关掉,然后就能弹出来虚拟键盘,使用虚拟键盘可以输入

github-actions[bot] commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.