We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CodeSandbox https://codesandbox.io/p/sandbox/rough-fire-6vqsjt?file=%2Fsrc%2FApp.vue
Description 重现步骤:
The text was updated successfully, but these errors were encountered:
这是个常见问题,你需要指定Select的container属性,让它插入到滚动元素,对Drawer而言,滚动元素是k-dialog-body部分,但是插入到滚动元素下,有个弊端,那就是弹层超出滚动元素的范围,并不会展示,而是需要滚动才能看到全部
// 插入滚动元素中 <Select :container="dom => dom" /> <style> .k-dialog-body { position: relatvie; } </style>
https://codesandbox.io/p/sandbox/tender-forest-hrj4ls?file=%2Fsrc%2FApp.vue%3A34%2C22
要彻底解决这个问题,需要组件监听滚动事件,然后事实算位置
Sorry, something went wrong.
styles(Dialog): add relative position for scrollable dialog body, #916
3b5bc6c
嗯嗯 添加contianer这种尝试过,在弹窗中用时,下拉还会往下展示撑高滚动区域,底部的下拉会被挡住,要滚动才能看到。 看了下iview的实现 他用了 popper.js去处理的下拉位置的,会找到滚动元素 监听滚动更新下拉位置。 有时间的话可以给优化支持下
No branches or pull requests
CodeSandbox
https://codesandbox.io/p/sandbox/rough-fire-6vqsjt?file=%2Fsrc%2FApp.vue
Description
重现步骤:
The text was updated successfully, but these errors were encountered: