Prevent body scroll
A common need when a modal window is open, is to prevent the <body>
of the underlying page from scrolling. vue-modal does not impose any specific scroll behavior on the <body>
by default.
This functionality can be added with an external plugin.
Scroll down for demo ↓
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.