我在我的项目中使用这个plugin来实现模式功能,问题是当我使用:adaptive="true"时,当模式高度大于屏幕时,我无法滚动模式,我该如何解决这个问题?
我也在他们的github repo上抛出了一个issue,但我没有从作者那里得到任何回应,请在座的任何人,谁解决了这个问题……如果你分享,那对我和其他人也会有很大帮助。
版本:
"vue-js-modal": "^2.0.0-rc.6"
这是我的设置
<modal name="quick-view"
width="90%"
height="auto"
:maxWidth="1000"
:maxHeight="600"
:adaptive="true"
:scrollable="true">
long content goes here
.......................................................................
........................................................................
........................................................................
</modal>我的设置是正确的还是我漏掉了什么..
发布于 2021-07-01 04:53:36
我在这里遇到了同样的问题,但我能够用下面的css代码修复它……在这篇文章中找到https://github.com/euvl/vue-js-modal/issues/674#issuecomment-844301259
.vm--modal {
height: auto !important;
}https://stackoverflow.com/questions/66704670
复制相似问题