Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd0a6d6

Browse files
authored
Fix check for isBodyOverflowing
1 parent1d59417 commitcd0a6d6

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
constbody=document.body

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp