-
Notifications
You must be signed in to change notification settings - Fork 80
Disable Scroll html #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/components/script.js
Outdated
showLightBox: { | ||
type: Boolean, | ||
default: true, | ||
default: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should keep the little comma there. We use Airbnb Javascript Style Guide
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your reply I will change it
src/components/script.js
Outdated
}, | ||
|
||
data() { | ||
data () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use this rule
I have just commented on the changes of your pull request. I would approve your pull request if you keep the style unchanged and change only what necessary. |
src/components/script.js
Outdated
|
||
disableScroll: { | ||
type: Boolean, | ||
default: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good improvement so we can turn on it by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your comment, I change it :)
src/components/style.css
Outdated
|
||
.no-scroll { | ||
overflow-y: hidden; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little change: can you add a new line to the end of this file? Sorry I didn't notice it until now.
add disableScroll property to avoid scrolling views behind lightbox