@widelab-nc/widelab 1.1.16 → 1.1.17

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": "@widelab-nc/widelab",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Widelab starter template based on Finsweet template + add-ons.",
5
5
  "homepage": "https://widelab.co",
6
6
  "license": "ISC",
package/src/index.js CHANGED
@@ -1025,11 +1025,15 @@ window.changeCheckboxLabelColor = function() {
1025
1025
  // Contact modal open animation
1026
1026
  window.openContactModal = function() {
1027
1027
  contactFormOpen.play();
1028
+ document.body.classList.add('is-scroll-off');
1029
+ lenis.stop();
1028
1030
  }
1029
1031
 
1030
1032
  // Contact modal close animation
1031
1033
  window.closeContactModal = function() {
1032
- contactFormOpen.timeScale(1).reverse();;
1034
+ contactFormOpen.timeScale(1).reverse();
1035
+ document.body.classList.remove('is-scroll-off');
1036
+ lenis.start();
1033
1037
  }
1034
1038
 
1035
1039
  // Close contact modal on ESC click