Scrollify
Scrollify copied to clipboard
WP Debug and Context breaks interstitial footer
While I was debugging an unrelated issue with my carousel, I experienced some issues. After some troubleshooting, I determined the culprit was WP_DEBUG.
Here were the lines in my Wordpress config:
define('WP_DEBUG', true); define('WP_DEBUG_CONTEXT', true);
Here are my init settings for scrollify on the affected pages:
jQuery.scrollify({ section: ".section", setHeights: false, sectionName: false, interstitialSection: ".header,.footer" });
Noted behavior was as follows:
- Scroll to final section before footer
- attempt to scroll down to footer and the page scroll loops you back to the first section
Expected behavior:
- Should scroll down to interstitial footer as defined.
- Also, when looping back to top, the function that governs the back to top animation should take you to the 0 index, not the first. In other words, it should return you to the interstitial header if you have interstitial sections enabled.
@lukehaas facing same issue