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

Scrolling not working in iOS 12.0.1 #8

Closed
singhsaban opened this issue Oct 29, 2018 · 4 comments
Closed

Scrolling not working in iOS 12.0.1 #8

singhsaban opened this issue Oct 29, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@singhsaban
Copy link

singhsaban commented Oct 29, 2018

Hi,
I've recently upgraded from iOS 12 to 12.0.1 and scrolling in the webview isn't working. My template is as follows.

<GridLayout rows="*" columns="*"> <WebViewExt row="0" col="0" src="..." @loaded="webviewLoaded" debugMode="false"></WebViewExt> </GridLayout>

Scrolling is working fine in iOS 12.0.

As a workaround I tried using a StackLayout and wrapped in with a ScrollView as discussed in NativeScript/NativeScript#224

<ScrollView> <StackLayout> <WebViewExt minHeight="1000" src="..." @loaded="webviewLoaded" debugMode="false"></WebViewExt> </StackLayout> </ScrollView>

This didn't work either.

However, it does work if I use the default WebView.

<ScrollView> <StackLayout> <WebView minHeight="1000" src="..."></WebView> </StackLayout> </ScrollView>

@m-abs m-abs added the bug Something isn't working label Oct 31, 2018
@singhsaban singhsaban changed the title Scrolling not working in iOS 12.1 Scrolling not working in iOS 12.0.1 Nov 1, 2018
@singhsaban
Copy link
Author

My apologies. The issue was with iOS 12.0.1. After upgrading to iOS 12.1 its scrolling correctly.

@m-abs
Copy link
Contributor

m-abs commented Nov 26, 2018

Couldn't reproduce and if it works on 12.1, I'll consider this issue closed.

@m-abs m-abs closed this as completed Nov 26, 2018
@Zxela
Copy link

Zxela commented Dec 13, 2018

This issue has re-appeared in IOS 12.1.1 on Device IPhone6s

@singhsaban
Copy link
Author

Scrolling not working for me also. I'm on iOS 12.1.1 (iPhone X). I noticed that scrolling has been turned off in nativescript-webview-ext/webview-ext.uiwebview.js.

uiWebView.scrollView.scrollEnabled = false;

And setting this to true does fix the issue. Let me know if this is a valid fix for the issue. I could send in a PR.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants