vue-vben-admin
vue-vben-admin copied to clipboard
scrollToField 显示不全
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
- [x] Read the docs.
- [x] Make sure the code is up to date. (Some bugs have been fixed in the latest code)
- [x] This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Describe the bug
scrollToField 显示不全 BasicModal嵌套 BasicForm 表单验证时scrollToField可以跳转 但是显示不全 如下图
Reproduction
System Info
- Operating System:
- Node version:
- Package manager (npm/yarn/pnpm) and version:
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
- [x] Read the docs.
- [x] Make sure the code is up to date. (Some bugs have been fixed in the latest code)
- [x] This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
Describe the bug
scrollToField 显示不全 BasicModal嵌套 BasicForm 表单验证时scrollToField可以跳转 但是显示不全 如下图
Reproduction
System Info
- Operating System:
- Node version:
- Package manager (npm/yarn/pnpm) and version:
vben 是调用的 ant-design-vue 的 scrollToField 方法,我刚看了下 antv 的这个方法,是用的第三方库 scroll-into-view-if-needed ,不知道这个库底层是不是基于浏览器的 scrollIntoView(https://developer.mozilla.org/zh-CN/docs/Web/API/Element/scrollIntoView),你可以去 scroll-into-view-if-needed 这个库的仓库看一看
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days