Questions tagged [iscroll4]

iScroll 4 is a scrolling library for mobile web development. Using iScroll 4 developers can add overflow:scroll functionality to mobile browsers. Other features iScroll 4 provides include Pinch/Zoom, Pull-To-Refresh and element snapping.

Useful links:

195 questions
3
votes
5 answers

javascript document.ready not always working, iscroll !

Hello we are building a mobile web.app using iScroll for scrolling. The problem is that the iScroll scroller sometimes has problems working when the page loads at first. This is the code, we added (document).ready to solve the problem, and it is…
Hans
  • 43
  • 1
  • 5
3
votes
0 answers

iScroll4 vertical and horizontal scroll issue in ios

I am working on an iscroll4 scroller,have been stuck on this for a while now. I am trying to create multiple scroller. I managed to do that and create the scroller from examples, its working fine in 1st page as the scroll stops when all the contents…
suresh
  • 86
  • 4
3
votes
1 answer

autocomplete view broken (iscroll issue)

I need an autocomplete option in my phonegap app, and i got this sample . It works fine when iam working with sample, but it is broken (look at images) when iam trying to scroll in iphone simulator i think it has some css issue, how can i fix it ?…
Mumthezir VP
  • 6,251
  • 6
  • 28
  • 57
3
votes
1 answer

Horizontal iScroll issues on desktop browsers

I'm trying to implement horizontal scrolling for a desktop website using iScroll.js. Dragging is working fine, and styling is applied ok, but I'm finding issues with scrolling. Initially I used iScroll 4.1.7 Mousewheel not working as it should on…
youare
  • 156
  • 1
  • 2
  • 12
3
votes
1 answer

How to dynamically add and remove elements at same time in iScroll4?

I have been using iScroll4 for my work from quiet a time Though I am facing an issue using it for a case where along with dynamic addition of elements at one end I also need to remove elements from other end. As in my work I might have to add a lot…
3
votes
1 answer

iScroll4 - disable click events while scroll

im using iSroll4 on a div that has Lis inside it, and each LI has a link. when i start scrolling the click events of the inner LIs is triggered. i want the click events to keep available but not while scrolling. help please.. thnx :)
HasanAboShally
  • 18,459
  • 7
  • 30
  • 34
3
votes
1 answer

infinite scrolling in iScroll4 or improve inertia/momentum

I've been trying to get this figured out for a few months now and have exhausted everything I can think of. What I'm trying to achieve is: http://blue.bluestudios.kenzomedia.com/v0.7/ (some logic borrowed from iScroll4) Notice that you can keep…
bmsterling
  • 41
  • 5
3
votes
1 answer

Remove focus from textbox when iscroll region is clicked

I have defined some events when input textbox has got focus and some task to perform when focus is removed. I am also using iscroll4 but textbox is out of the scroller. My problem is when textbox gets focus and i click on the iscroll area the foucs…
user850234
  • 3,373
  • 15
  • 49
  • 83
3
votes
1 answer

Possible to use iscroll pinch/zoom with overlayed divs?

I'm trying to overlay a div ("childItem") with a specific position on top of a larger div ("parentContainer") that has a background image. I then use iscroll to allow pinch/zoom on the parent div. This works. However, the child div does not maintain…
Rob Lauer
  • 3,075
  • 1
  • 32
  • 44
2
votes
1 answer

Can't get iscroll4 to play with backbone view

I am trying to use iScroll4 inside a backbone.js application. I have several dynamically loaded lists, and I want to initialize iScroll after the appropriate view has loaded. I'm trying to call 'new iScroll' when the list view finishes loading, but…
2
votes
1 answer

How to get scrolling direction with Iscroll when onScrollStart

How should I do to get the scrolling direction using onScrollStart and not onScrollEnd? For now, here is the code I found for onScrollEnd : var current_page = 1; var old_page = 0; funnction load() { myScrollH = new iScroll('wrapper', { …
2
votes
0 answers

Android pop-up keyboard hiding last form field when selected

I am using iScroll 4 on Android. I am facing the following problem: When I click the last form field, the Android popup keyboard hides the form field. Here is the link to iScroll: http://cubiq.org/iscroll Can anyone help me find a way to solve this…
Humayoo
  • 698
  • 9
  • 29
2
votes
2 answers

iscroll link issues

I'm making my first mobile app, and have a weird issue. When the app is launched regularly through safari, obviously the links work as if any other regular HTML links. When I add the webapp to my home screen (to get the full effect, button, splash,…
dave
  • 123
  • 1
  • 2
  • 8
2
votes
1 answer

iScroll library - end of page reached - callback or binding?

I'm trying to hook function callback when iScroll container reaches end of page, at the bottom end (Y-axis). So that I can load more content on demand - instead of all 300+ contents. Has anybody worked on it? Any hints? Here is the library I was…
Hossain Khan
  • 6,332
  • 7
  • 41
  • 55
2
votes
1 answer

iScroll 4 stops working because of container CSS created by javascript jQuery

I'm running iScroll 4 inside a DIV, but the DIV's height is generated dynamically, and screws up iScroll