question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't scroll on iOS

See original GitHub issue

I’m submitting a…

[X] Bug report [ ] Feature request [ ] Documentation issue or request

Current behavior

Can’t scroll on iOS

Expected behavior

Scrolling 😃

Minimal reproduction of the problem with instructions

Installing a fresh version with this Settings:

? What's the name of your app? bb
? What kind of app do you want to create? Web app, Mobile app (using Cordova)
? Do you want a progressive web app? (with manifest and service worker) Yes
? Which mobile platform do you want to support? iOS
? Which UI framework do you want? Bootstrap (more website-oriented)
? Do you want authentication? Yes

After this prepare cordova with: npm run cordova:prepare

Now add some long text to src/app/home/home.component.html

example:

...
        </h1>
        <br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br
        />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />t<br />kkkkkkkkkk
        <app-loader [isLoading]="isLoading"></app-loader>
....

and build cordova with npm run cordova:build

Go to XCode, Open Project and Select the Developer Team and Run it on Device.

Scrolling wont work, so nobody wont see “kkkkkkkkkk”

Environment

- generator version: v3.1.1
- node version: v9.3.0
- npm version: 5.6.0
- OS:  Mac

Others:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

8reactions
2peter3commented, Jan 19, 2018

i think i have found a solution… add to config.xml

<preference name="ScrollEnabled" value="true" />

between “<platform name="ios">” and </platform>

@sinedied could you approve it?

i tested this with simulator on Xcode 9.2 and iPhone 6s (latest updates) and it works

0reactions
sinediedcommented, Jan 22, 2018

@2peter3 I just tested the workaround, the scrolling works as expected. You may also want to change <preference name="UIWebViewBounce" value="false" /> with the true value to restore native webview bounce when scrolling.

Read more comments on GitHub >

github_iconTop Results From Across the Web

i can't scroll anymore - Apple Support Communities
1. Press Home. · Tap Settings. Then double-tap Settings. · Tap General. Then double-tap General. · Use three fingers on the screen to...
Read more >
Can't scroll down in Safari on iPad / iPhone / iPod Touch
Use a two finger press inside the window that you're trying to scroll and move them up or down simultaneously. Or pinch your...
Read more >
Top 6 Solutions for iPhone XR Scrolling Issue After Update
Top 6 Solutions to Fix iPhone XR Not Scrolling Issues · Solution 1: Clean the Screen · Solution 2: Force Restart iPhone XR...
Read more >
Cant scroll or click on anything in safari after loading certain ...
Does anyone have a solution to this issue? Thanks. r/ios - Cant scroll or click on anything in safari after loading certain websites....
Read more >
Cant scroll in Apple iOS7 (Safari / Chrome) and Jira 6.1
2) on an iPad (3rd generation) the screen cannot be scrolled using Safari or Chrome for iOS (Jira 6.1 on EAC/J). Dashboards seem...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found