Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pulak Ahmed

    (@pulak00)

    Hi @mrkknnthcrz,

    You can use the following code as a callback function to achieve the scroll top functionalities.

    ; (function ($) {
    	$('.sp-collapse').on('show.bs.spcollapse', function (e) {
    		var $panel = $(this).closest('.ea-card');
    		setTimeout(function (e) {
    			$('html,body').animate({
    				scrollTop: $panel.offset().top
    			}, 500); 
    		},500)
    	
    	}); 
    })(jQuery);

    Hopefully, this may help you.

    Have a nice day.

    Plugin Support Pulak Ahmed

    (@pulak00)

    Hi @mrkknnthcrz,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request Callback Feature’ is closed to new replies.