jquery.scrollz icon indicating copy to clipboard operation
jquery.scrollz copied to clipboard

Disable\Enable scrollz

Open TomerSiloni opened this issue 11 years ago • 2 comments

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.

TomerSiloni avatar Dec 07 '14 13:12 TomerSiloni

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

zippy1978 avatar Jan 05 '15 12:01 zippy1978

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:[email protected]] 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.

TomerSiloni avatar Jan 05 '15 12:01 TomerSiloni