Expand my Community achievements bar.

Delay link click in launch is causing the slider component to move to top of the page .

Avatar

Level 1

gottipullaksheera-sagar_0-1618937507994.png

I have added this click event rule on a slider component with delay click and the css on the page is as below.
case 1: when i build the rule in launch  with the delay link click activated ,The page is redirecting to the top instead of the slider component moving to next slider.
case 2 when i remove the delay link click from launch rule the slider component is working as expected without any issue .

gottipullaksheera-sagar_1-1618937616417.png

 

can i please know why

 

1 Reply

Avatar

Community Advisor

They link click delay stops the browser from executing the link's default action, in this case, sliding.

But in your case, you don't actually need the link click delay, because the sliding happens in the current page (right?). The delay is needed only if the link causes the browser to load a new page. In that latter case, the delay provides some time for the tracking to be sent before the new page gets loaded.