bug under iPhone

StatusIDPriorityType
Closed19284NormalContent Timeline jQuery
Profile Reply
dmitry_ru Client

When I click left or right arrow of timeline (#t_line_left, #t_line_right) – it works only first time. Then it does not scroll the timeline to the next section. It happens only if I click the same arrow, that means to scroll in the same direction.

I found the bug with debugger.

When I click the arrow – first call goes to ‘touchStart’ where data.mousedown is set true and then ‘mouseUp’ fires and calls ‘goTo’ where data.lineMargin is modified – that’s why the call of ‘lineLeft’ or ‘lineRight’ does not work.

I suggest to add to ‘touchStart’ a simple check – something like this:

var target_id = $(evt.target).attr(‘id’);
if(target_id == ‘t_line_left’ || target_id == ‘t_line_right’) return;
I fixed my copy but I suggest you to add this fix to the next update.
Or maybe I’m wrong and your script does not need this fix… then pleas explain me why it does not work under iPhone (I think under any touch device but I haven’t checked). 

Replies

User Description Posted On
Shindiri Support team Administrator

Greetings,

Can you please send us link to your site so we can check what is causing the issue, also you can send us screen shot with your issue?

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

dmitry_ru Client

Link where you can check it:

http://truewine.wpengine.com/event/

But as I wrote - the problem is only under iPhone.
Now I disabled my fix so you can see the problem.

I would like to send you a screenshot but I do not see an option to attach the file.

Shindiri Support team Administrator

Hi,

There is no option to attach picture on forum.

Please send it on support@shindiristudio.com

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

dmitry_ru Client

Hi,

I've sent the mail.

Best regards,
Dmitry

Shindiri Support team Administrator

Hi,

Thanks

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

× This ticket is closed.