By fwalker on Friday, 13 November 2015
Replies 6
Likes 0
Views 0.9K
Votes 0
Hey there!

I have a question concerning the touch function of the Jevents Module with the mini calendar.
If I sweep down to scroll the page and the startpoint of the sweep is the calendar module, it switches to the next month. The Calendar module is the first element in the content section of the homepage. So, most likely by scrolling the page, I change the month. And its impossible to move the finger in a perfect vertical movement. Every little deviation changes the month.

Is it possible to disable the touch funtion of the module?

Greetings
FWalker
I believe this is sorted in JEvents 3.4.x - which version are you using?
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh yeah...its 3.4.x ...!
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
which theme/layout? What sort of touch device?

Please confirm you do not have a template override in place for the module
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
The "flat" and the devices I`ve tested with were a LG G4s and a Samsung S5 mini.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I changed following:
if (distX > 10)
{
if (linkprevious) callNavigation(linkprevious);
evt.preventDefault();
}
else if (distX < -10)
{
if (linknext) callNavigation(linknext);
evt.preventDefault();
}

to:

if (distX > 80)
{
if (linkprevious) callNavigation(linkprevious);
evt.preventDefault();
}
else if (distX < -80)
{
if (linknext) callNavigation(linknext);
evt.preventDefault();
}

and now it seems to don`t be so extremly sensitive any more.
But I´m not sure if this is the right way... I´m pretty weak with javascript oO
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
We can look at making the condition less sensitive but also need to be able to allow the mini-calendar navigation to work using the touch interface too.

I'm wondering if the issue is with your site/template. Can you try the JEvents Demo site e.g. http://www.jeventsdemo.net/all-events and see if you see the same behaviour there - you can switch the layout using the layout switching module on the page to 'flat'
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post