@codeleap/web 3.12.14 → 3.12.15

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": "@codeleap/web",
3
- "version": "3.12.14",
3
+ "version": "3.12.15",
4
4
  "main": "src/index.ts",
5
5
  "repository": {
6
6
  "url": "https://github.com/codeleap-uk/internal-libs-monorepo.git",
@@ -333,10 +333,10 @@ export const Modal = (props) => {
333
333
  }
334
334
 
335
335
  if (visible) {
336
- document.body.style.overflow = 'hidden'
336
+ document.body.style.overflowY = 'hidden'
337
337
  document.body.style.overflowX = 'hidden'
338
338
  } else {
339
- document.body.style.overflow = 'visible'
339
+ document.body.style.overflowY = 'visible'
340
340
  document.body.style.overflowX = 'hidden'
341
341
  }
342
342
  }, [visible])