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

The html height increased from the second time to open the browser in iOS #729

Closed
3 tasks done
lazydan opened this issue Jun 16, 2020 · 6 comments
Closed
3 tasks done

Comments

@lazydan
Copy link
Contributor

lazydan commented Jun 16, 2020

Bug Report

Problem

At the first time i opened the browser, it worked fine. Then close it and open again. The html height increased.

Infomation

html {height:100%;}
The First Time: html.height = screen.height - toolbar.height - statusbar.height
From The Second Time: html.height = screen.height - toolbar.height

Datas:
iphone 8 (1st): 603px = 667px - 44px - 20px
iphone 8 (from 2nd): 623px = 667px - 44px
iphone 11 (fst): 808px = 896px - 44px - 44px
iphone 11 (from 2nd): 852px = 896px - 44px

Command or Code

cordova.InAppBrowser.open('https://anydomain.com', '_blank','location=no,hidenavigationbuttons=yes,toolbarposition=bottom,toolbar=yes,toolbarcolor=#ffffff,hidespinner=yes')

Environment, Platform, Device

iOS 13.5
iphone 8, iphone 11

Version information

cordova 9.0.0
cordova-ios 6.0.0
cordova-plugin-inappbrowser 4.0.0
Xcode 11.5

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@chetanbansal019
Copy link

++
This issue also exists on iPhone X
Probably related to #301 #306
Plugin version : 4.0.0

Screen Shot 2020-06-17 at 3 50 29 PM
Screen Shot 2020-06-17 at 3 47 41 PM

@giorgos120
Copy link

giorgos120 commented Jun 19, 2020

I can confirm that the problem started since the version 4.0.0 upgrade.

This issue, creates serious functionality problems to webpages with content that is fixed on the bottom of the page. Bellow you can see two images, one with the correct functionality, and one with the new, bug,
I must point out that on first inappbrowser run, everything works as expected. But if you reopen it, the bug starts.

Without Bug (on iPhone X)
download1

With Bug (on iPhone X)
download2

@dpa99c
Copy link
Contributor

dpa99c commented Jul 23, 2020

This is now fixed on master by the merge of #738

@joeldhenry
Copy link

When is this being released?? i've been waiting for a release rather than just master.

@Nabeelhassan
Copy link

When can we expect a release for this ??

@chinieer
Copy link

chinieer commented Nov 6, 2020

same issue after use last version 4.0.1.when i use camera from file input,after the close the camer,the webview high is incorrect

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

No branches or pull requests

8 participants