• Resolved lupetu

    (@lupetu)


    When my calendar page first loads, clicking on an event title in the calendar grid only cause page to jump to top (like an anchor action is being ignored). If I switch to list view and then toggle back to the grid, the pop ups show as intended when clicking the title. How can I fix it so the pop ups appear on page load? Is some script not being called initially?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    There’s a function in the head of your site that’s causing this – when I view source, I can see it at line 887.

    $('a[href^="#"]').click(function () {
        $('html, body').animate({
            scrollTop: $('[id="' + $.attr(this,'href').substr(1) + '"]').offset().top-50
        }, 500);
    
        return false;
    });

    I strongly recommend removing this; the function will break keyboard accessibility for all in-page links, as it only scrolls the visible position of the page and does not change the actual focus location. If you want an animated smooth scroll, you’re better off using CSS.

    https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior

    Thread Starter lupetu

    (@lupetu)

    Thank you for your prompt and helpful solution!

    • This reply was modified 1 year, 7 months ago by lupetu.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Grid view doesn’t show pop up event information’ is closed to new replies.