Skrollr.js

1 reply · opened Jan 12, 2024

Mmatzemann88Jan 12, 2024

Why is scrollr.js not included as javascript but included via cdn on pages?
I have problems, when I use this script on mobile phones. the page is not scrolling anymore.

SSemicolon WebSTAFFJan 15, 2024

Hello,

Skrollr.js is not used by all the Pages and just used for some of the Components, so it is not required to be included globally. Make sure that you are using the following code after including the Skrollr CDN on the Page:
[ch_pre]!SEMICOLON.Mobile.any() && skrollr.init({forceHeight: false});[/ch_pre]

This will fix any non-scrollable Page issues on Mobile Devices.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard