Skip to content

Commit 49f954b

Browse files
committed
Merge branch 'hotfix/update-cache'
2 parents 1616a85 + b0a94e6 commit 49f954b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scroll-parallax",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "React components to create parallax scroll effects for banners, images or any other DOM elements.",
55
"repository": {
66
"type": "git",

src/classes/ParallaxController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ function ParallaxController({ scrollAxis = VERTICAL, scrollContainer }) {
194194
*/
195195
this.update = function() {
196196
_setViewSize();
197-
_updateAllElements();
197+
_updateAllElements({ updateCache: true });
198198
};
199199

200200
this.updateScrollContainer = function(el) {

0 commit comments

Comments
 (0)