apache / apache/cordova-plugin-inappbrowser

Small white line on top

Open
#731 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Hi,

After updating to v4.0.0 all is ok but I only have this small issue, a white line is present on top of IAB and I can't remove it.

I try editing CDVWKInAppBrowser.m and made some changes to
#define TOOLBAR_HEIGHT 44.0
#define LOCATIONBAR_HEIGHT 21.0

But without success.

On the first screen my status bar in "normal mode"

![IMG_3660](https://user-images.githubusercontent.com/33251007/84953723-5010ab80-b0f4-11ea-81ba-7170119c56d7.jpg)

On the second screen, mystatusbar in IAB.
![IMG_3661](https://user-images.githubusercontent.com/33251007/84953731-52730580-b0f4-11ea-828c-50a06dd7bf9c.jpg)

Any help will be appreciated ;)
thx

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the white line in the InAppBrowser on iOS, then inspect CDVWKInAppBrowser.m and the TOOLBAR_HEIGHT and LOCATIONBAR_HEIGHT definitions mentioned in the report. Compare the normal screen with the IAB screen and verify that the unwanted top line is gone without disturbing the status bar or browser layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.