Skip Navigation

[Resolved] Date Picker extremely slow – 10s delay – How to implement a Spinner?

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Shane 5 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1196627

I know there is a reason for the date picker being extemely slow. But on some pages I have a close to 10s delay which is unbearable.

I already replied to this thread https://toolset.com/forums/topic/datepicker-delay/#post-1196621 but i think It is closed and won't be found. So sorry when asking in a different format but I think I have an idea for a a temportary solution for this problem since I feel like the issue is present for quite a few years new and still unsolved.

How can i implement a spinner that shows up besides or instead the calendar icon while the ajax call is being made?

Could you somehow guide me into the right direction?

I feel It should just be shown when someone clisk on an elementwith the 'data-handler="selectDay' attribute and will be hidden after the input refreshes?

Thansk so much in advance.

#1196894

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Konstantin,

Thank you for contacting our support forum.

I took a read through the ticket that you had with Juan, however a reference ticket for this was not added for our internal system so I cant say if this was addressed.

However i'm not sure why your datepicker is responding so slowly. Would you mind sending me a link to where I can see the issue ?

I would love to try and assist you with adding the spinner but would need to see the issue first.

Thanks,
Shane

#1196961

Thanks Shane for your support. You might want to check the form with the date picker on this page: hidden link

As you can see the input might take 5 or more seconds to be set. A spinner might help the situation to clarify that something is happening in the background and to prevent the user to set the date multiple times in a row.

#1197516

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Konstantin,

Thank you for the patience.

Unfortunately i was unable to come up with a solution for this one.

What I can do tho is to escalate this to our 2nd tier supporters for them to have a look at this for you as well.

Please let me know.
Thanks,
Shane

#1246385

Thanks that would be very cool. I think a spinner that makes clear that sth is happening would be perfect if the process itself cannot be sped up.

#1246789

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Konstantin,

We have had quite a few updates since we started handling your ticket.

Could you let m e know if you've updated to the latest versions of our plugins and if the issue is still there on the latest versions ?

Thanks,
Shane