View Full Version : swipe up/down - need clarification

16 Dec 2012, 12:48 AM
can someone please elaborate why specifically swipe up/down need extra configuration to activate? when the docs say it will impact performance what does it mean, in what way? and why?

18 Dec 2012, 6:59 AM
This actually lead me to find a bug and I will fix. The bug is e.direction is undefined so I will fix that up easily.

For performance, it looks like it's because it is doing extra code for touch events which will add some performance costs. I do wonder if we could merge the two and just detect if it's vertical or horizontal. I may explore this a little also.

18 Dec 2012, 7:01 AM
BTW, e.direction works for me 4 ways with ST 2.1 but for up/down I added the extra config like the docs said.