@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/{public → dist}/css/tailwind-brandCrowd.css +565 -490
- package/{public → dist}/css/tailwind-brandPage.css +489 -414
- package/{public → dist}/css/tailwind-crazyDomains.css +565 -490
- package/{public → dist}/css/tailwind-designCom.css +565 -490
- package/{public → dist}/css/tailwind-designCrowd.css +565 -490
- package/package.json +1 -1
- package/src/atoms/components/Modal/Modal.vue +0 -12
package/package.json
CHANGED
|
@@ -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 {
|