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

[Android and Start in fullscreen off only] Webview becomes smaller when the virtual keyboard is displayed. #729

Closed
R-A-77 opened this issue Aug 22, 2021 · 2 comments

Comments

@R-A-77
Copy link

R-A-77 commented Aug 22, 2021

[Eng]
Dear owner,
Webview becomes smaller when the virtual keyboard is displayed.
The problem occurs when "Start in fullscreen mode" is off in the player settings of unity.
This does not happen when “Start in fullscreen mode” is on.
Please let me know how to stop it from getting smaller.
Related Issues #300 ?

= Environment =
SHA-1 : 3ec19e9
OS : Android 11
Unity Settings : Player Settings(Android) -> Start in fullscreen mode off
Source : SampleWebView.cs
Change Code : webViewObject.SetMargins(0, 0, 0, 0);
Remarks : Also occurs with Screen.fullscreen=false.
The reason for off the full screen is to show the navigation bar.

[JP]
お世話になっております。
Full Screen(off)の状態でキーボードを表示すると、
WebView部分がFull Screen(on)時と比べて小さくなってしまいます。
Navigation Barを常に表示したいため、FullScreen(off)で利用したいです。
何か回避方法はありますでしょうか?
関連Issues #300

FullScreen_off_Android :

FullScreen_on_Android :

@KojiNakamaru
Copy link
Member

KojiNakamaru commented Aug 23, 2021

Thank you for the report. I fixed the issue with #730 and updated binaries. Could you please try the latest?

ありがとうございます。 #730 で修正してバイナリを更新したので、最新版をお試しいただけますか?

@R-A-77
Copy link
Author

R-A-77 commented Aug 24, 2021

Dear @KojiNakamaru san
I confirmed #730 and the solution 7ce5342 .
When the full screen is off and the keyboard is displayed, the height of the screen is not smaller.
There was no problem with the solution 7ce5342 .
Verify OK. Thank you and Good solution !!!

お世話になっております。
ご確認とご対応して頂きありがとうございます。
#730 のソリューションは期待値通りに動作し、問題ございませんでした。
ありがとうございました。

FullScreen_off_Android_after_Fix(OK) :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants