Skip to content

Commit cd0a6d6

Browse files
authored
Fix check for isBodyOverflowing
1 parent 1d59417 commit cd0a6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modal/helpers/modal-manager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const ModalManager = /*#__PURE__*/ Vue.extend({
141141
checkScrollbar() {
142142
// Determine if the body element is overflowing
143143
const { left, right } = getBCR(document.body)
144-
this.isBodyOverflowing = left + right < window.innerWidth
144+
this.isBodyOverflowing = left + right > window.innerWidth
145145
},
146146
setScrollbar() {
147147
const body = document.body

0 commit comments

Comments
 (0)