zippy1978 / jquery.scrollz

Modern scrolling for jQuery
GNU General Public License v2.0
81 stars 17 forks source link

Disable\Enable scrollz #24

Open TomerSiloni opened 9 years ago

TomerSiloni commented 9 years ago

How can i Disable\Enable scrollz dynamically? I need to disable it when I enable sort and than enable it again when I disable the sort option. I use jquery-ui for sort.

zippy1978 commented 9 years ago

Hi, What do you mean by 'disable' ? Do you want to reset the scroll position, remove the pull to refresh ? Or completely remove the scroll ?

In the latter case, the best would be to destroy the scroll container (or may be just hide it) and create the new content on top of it.

Regards, Gilles

TomerSiloni commented 9 years ago

Hi,

I want do disable pull to refresh temporarily so I could drag items in the list (manually change the order of listview items). After changing the order, I want to enable again pull to refresh. Dragging items while pull to refresh enabled, is almost impossible…

Regards, Tomer

From: Gilles Grousset [mailto:notifications@github.com] Sent: Monday, January 05, 2015 2:23 PM To: zippy1978/jquery.scrollz Cc: Tomer Siloni Subject: Re: [jquery.scrollz] Disable\Enable scrollz (#24)

Hi, What do you mean by 'disable' ? Do you want to reset the scroll position, remove the pull to refresh ? Or completely remove the scroll ?

In the latter case, the best would be to destroy the scroll container (or may be just hide it) and create the new content on top of it.

Regards, Gilles

— Reply to this email directly or view it on GitHubhttps://github.com/zippy1978/jquery.scrollz/issues/24#issuecomment-68701237.