Stellar.js not working as expected on iPad

204 Views Asked by At

I have a site which uses Stellar.js for it's parallax effect. It works as expected in the desktop versions, however on tablets (unsure if it's just iOS) the parallax effect doesn't work.

I have got no idea why... Below is the code I am using to initialize Stellar.js:

include('js/stellar/jquery.stellar.js');
$(window).load(function() { 
  if ($('html').hasClass('desktop')) {
      $.stellar({
        horizontalScrolling: false,
        verticalOffset: -50
      });
  }  
});
1

There are 1 best solutions below

0
On BEST ANSWER

As stated by Bhojodendra Nepal, there is a bug that stops stellar.js functioning on iPad.