I'm working on a Wordpress site that uses X theme from theme.co and the navigation anchor links stopped scrolling down to the appropriate sections. I found that Calendly's widget.css that you add to your site with either the popup widget or inline link widget have a rule that sets html and body elements to `height: 100%`
That rule is the culprit, and from what I can tell it's meant to block the page scrolling when the Calendly popup is visible (guessing, from the classname). The fix is to only set that rule when needed, so we can change it using the classname that's added to html when popup is triggered:
height: auto !important; /* reset default to allow scroll navigation */
height: 100% !important; /* set height when popup is active */
Please sign in to leave a comment.