pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG] ProTable 存在嵌套表格的时候,子表格的 scroll 不生效

Open jochenshi opened this issue 1 year ago • 0 comments

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

🐛 bug 描述

ProTable使用了嵌套表格,给外层设置了overflow: hidden,内部表格设置scroll,但是实际内部表格scroll不生效

📷 复现步骤

见复现代码

🏞 期望结果

外层表格不滚动,内部表格根据设置滚动

💻 复现代码

https://codesandbox.io/p/sandbox/qian-tao-biao-ge-forked-6pp3gq?file=%2FApp.tsx%3A118%2C11

© 版本信息

  • ProComponents 版本: 2.6.50
  • umi 版本
  • 浏览器环境 Chrome
  • 开发环境 [e.g. mac OS]

🚑 其他信息

jochenshi avatar Apr 11 '24 05:04 jochenshi