@dev-tcloud/tcloud-ui 6.5.0 → 6.5.1

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.
@@ -3107,10 +3107,10 @@ class TcloudModalService {
3107
3107
  let body = document.getElementsByTagName("BODY")[0];
3108
3108
  if (body && body.style) {
3109
3109
  if (fixed === 'on') {
3110
- body.style.overflowY = "hidden";
3110
+ body.classList.add('tcloud-ui-modal-is-open');
3111
3111
  }
3112
3112
  if (fixed === 'off') {
3113
- body.style.removeProperty('overflow-y');
3113
+ body.classList.remove('tcloud-ui-modal-is-open');
3114
3114
  }
3115
3115
  }
3116
3116
  }