Okay
  Public Ticket #2811942
Can you scroll back up to the calendar after customer clicks 'confirm'
Closed

Comments

  •  1
    Garion Bracken started the conversation

    After the customer confirms their details in the booking calendar by clicking 'confirm' the box reduces in size leaving them staring at blank screen below the now smaller box. Could a redirect up to the element ID be initiated then or something so they're scrolled back to where they're meant to be looking?

  • [deleted] replied

    Hi again, Garion,

    I assume you've found the purchase code.

    However, regarding the question: if the booking page scrolls down after the booking is complete, please try to add this JS to the booking page:


    <script>
    window.beforeAddToCalendarLoaded = function () {
    document.getElementById('am-add-to-calendar').scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'});
    }
    </script>

    If you need help with adding custom JS to the page, please take a look at this article.

    Looking forward to hearing from you.