@designcrowd/fe-shared-lib 1.0.7-ast-modal-disable → 1.0.7

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": "@designcrowd/fe-shared-lib",
3
- "version": "1.0.7-ast-modal-disable",
3
+ "version": "1.0.7",
4
4
  "scripts": {
5
5
  "start": "npm run storybook",
6
6
  "build": "npm run build:css --production",
@@ -139,11 +139,6 @@ export default {
139
139
  required: false,
140
140
  default: true,
141
141
  },
142
- disableBodyScrollOnVisible: {
143
- type: Boolean,
144
- required: false,
145
- default: false,
146
- },
147
142
  },
148
143
  computed: {
149
144
  isImageMode() {
@@ -152,13 +147,6 @@ export default {
152
147
  },
153
148
  watch: {
154
149
  visible(visible) {
155
- if (this.disableBodyScrollOnVisible) {
156
- if (visible) {
157
- document.getElementsByTagName('body')[0]?.classList.add('tw-overflow-hidden');
158
- } else {
159
- document.getElementsByTagName('body')[0]?.classList.remove('tw-overflow-hidden');
160
- }
161
- }
162
150
  if (visible && this.closeOnEsc) {
163
151
  document.addEventListener('keydown', this.closeModalOnKeyDown);
164
152
  } else {