arco-design-vue
arco-design-vue copied to clipboard
List组件的scrollIntoView不起作用
- [ ] I'm sure this does not appear in the issue list of the repository
基本信息
- 依赖包名 及 版本: @arco-design/[email protected]
- 框架版本: VUE 3.2.37
- 浏览器版本: chrome119.0.0.0
- 复现地址: https://codesandbox.io/s/great-sammet-pz5c22?file=/src/App.vue
预期结果
可以按传递的参数滚动到所需位置
复现步骤
都在代码里,已经打开了虚拟滚动
@0xSa9 你好,在提供的示例中还不算真正打开了虚拟滚动(virtual-list-props),scrollbar 是开启了虚拟滚动条。所以无法通过调用 scrollIntoView 方法进行滚动。