Open jochenshi opened 1 month ago
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
ProTable使用了嵌套表格,给外层设置了overflow: hidden,内部表格设置scroll,但是实际内部表格scroll不生效
见复现代码
外层表格不滚动,内部表格根据设置滚动
https://codesandbox.io/p/sandbox/qian-tao-biao-ge-forked-6pp3gq?file=%2FApp.tsx%3A118%2C11
提问前先看看:
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
© 版本信息
🚑 其他信息