fancy
fancy

Reputation: 51453

Can I suspend iScroll functionality?

I want to disable the scroll sometimes so I can do multi-touch events in the same area, something like...

if event.originalEvent.touches.length is 2 then myScroll.disable()

Is something like this possible?

Upvotes: 11

Views: 10650

Answers (1)

fancy
fancy

Reputation: 51453

myScroll.disable()

Then on touchend

myScroll.enable()

:)

Upvotes: 30

Related Questions