creativetimofficial / now-ui-kit

Now UI Kit Bootstrap 4 - Designed by Invision. Coded by Creative Tim
https://www.creative-tim.com/product/now-ui-kit
Other
1.7k stars 376 forks source link

Parallax on page header broken on mobile #89

Closed fruitcoder closed 5 years ago

fruitcoder commented 5 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

When loading the web page on a mobile device I expect the page header image parallax to work if data-parallax="true" is set. However, it stays static.

Current Behavior

The image stays still during scroll.

Failure Information (for bugs)

Tested on iOS and MacOS.

Steps to Reproduce

Open https://demos.creative-tim.com/now-ui-kit/index.html on an iPhone OR make the Safari window on macOS small to simulate the smallest breakpoint. When the page was open on a large breakpoint before then shrinking the window shows the page like it should be → parallax working. When reloading the page while in the smallest breakpoint the parallax is not working.

dragosct commented 5 years ago

Hi, @fruitcoder! Thank you for using our products. This it's not an issue, we put intentionally for the displays smaller than 992px to block the parallax. You can remove this from the assets/js/now-ui-kit.js.

Regards, Dragos

fruitcoder commented 5 years ago

Oh thanks so much for the quick response! And thanks for this amazing Kit