@pushword/js-helper 0.0.114 → 0.0.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushword/js-helper",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "description": "Pushword front end helpers. ",
5
5
  "author": "Robin@PiedWeb <contact@piedweb.com>",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@ class HorizontalScroll {
27
27
  this.elementToScroll.scrollLeft += evt.deltaY
28
28
  this.elementToScroll.classList.toggle('scroll-smooth')
29
29
  },
30
- { passive: true },
30
+ { passive: false },
31
31
  )
32
32
  return this
33
33
  }
@@ -65,7 +65,7 @@ class ScrollYEnhancer {
65
65
  } else window.lastScrollTime = new Date().getTime()
66
66
  window.isScrolling = false
67
67
  },
68
- { passive: true },
68
+ { passive: false },
69
69
  )
70
70
  }
71
71
 
@@ -189,7 +189,7 @@ class ScrollXEnhancer {
189
189
  } else window.lastScrollTime = new Date().getTime()
190
190
  window.isScrolling = false
191
191
  },
192
- { passive: true },
192
+ { passive: false },
193
193
  )
194
194
  }
195
195