You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Via [npm/yarn](https://www.npmjs.com/package/simple-parallax-js)
@@ -95,7 +95,7 @@ Setting | Type | Default | Hint
95
95
orientation | String | up | up - right - down - left - up left - up right - down left - down right
96
96
scale | Number | 1.3 | need to be above 1
97
97
overflow | Boolean | false |
98
-
delay | Number | 0.4 | the delay is in second
98
+
delay | Number | 0 | the delay is in second**Watch out, sometimes this delay is causing issue on iOS devices [#47](https://github.com/geosigno/simpleParallax.js/issues/47)**
99
99
transition | String | '' | any CSS transition
100
100
customContainer | String or Node | false |
101
101
customWrapper | string | '' | the selector of the custom wrapper
@@ -125,7 +125,7 @@ The higher the scale is set, the more visible the parallax effect will be. In re
125
125
By default, the image is scaled to apply a parallax effect without any overflow on the layout - you can check the [case study](https://medium.com/@geoffrey.signorato/case-study-create-a-parallax-effect-directly-on-img-tags-with-javascript-35b8daf81471) to have a better understanding. When *overflow* is set to true, the image will translate out of its natural flow (so it may overlap with your content).
126
126
127
127
### delay - *Number* - see [example](https://simpleparallax.com#example-delay-transition)
128
-
When a *delay* is set, the translation of the image will continue during that delay when the user stops scrolling. That gives a very nice effect. The delay is in second.
128
+
When a *delay* is set, the translation of the image will continue during that delay when the user stops scrolling. That gives a very nice effect. The delay is in second.**Watch out, sometimes this delay is causing issue on iOS devices [#47](https://github.com/geosigno/simpleParallax.js/issues/47)**
129
129
130
130
### transition - *String* - see [example](https://simpleparallax.com#example-delay-transition)
131
131
The *transition* setting works closely with the *delay* setting. This setting will add any CSS transition to the delay setting. For example, you can use *ease* or *ease-in-out*.
0 commit comments