Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Full height not working on iOS #57

Open
rvanzon opened this issue Jan 28, 2020 · 1 comment
Open

Full height not working on iOS #57

rvanzon opened this issue Jan 28, 2020 · 1 comment

Comments

@rvanzon
Copy link

rvanzon commented Jan 28, 2020

Hi,

I am using:

<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" navigatingTo="navigatingTo" xmlns:ui="@nota/nativescript-webview-ext">
    <GridLayout rows="*" columns="*" class="">
        <ui:WebViewExt id="webview" src="{{ src }}" scrollBounce="false" loadFinished="onWebviewLoadFinished" debugMode="true"  viewPortSize="initial-scale=1.2"></ui:WebViewExt>
    </GridLayout>
    <!-- <Label visibility="{{ !loading ? 'hidden' : 'visible'  }}" text="Bezig met laden..." class="h2 text-center" textWrap="true"/> -->
</Page>

It's expected for the view to be fullscreen, but instead the WebView is about 110 pixels "shorter", positioned correct at the top of the screen though. Using WebView instead of WebViewExt works.

Using p-2 as class of GridLayout kind of works. Only the colors of the safe areas are white then.

Any ideas?

@m-abs
Copy link
Contributor

m-abs commented Feb 5, 2020

Hi @rvanzon,

Sorry about the late reply. I'm not sure why it works for upstream webview and not ours.

Could you try with the latest alpha? v6.3.0-alpha.2

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

No branches or pull requests

2 participants