virtualized-table-for-antd icon indicating copy to clipboard operation
virtualized-table-for-antd copied to clipboard

托动放大,表格错位

Open running-snail-sfs opened this issue 5 years ago • 19 comments

托动放大,表格错位,带有复选框的表格

running-snail-sfs avatar Apr 13 '20 03:04 running-snail-sfs

希望你看看,并修复

running-snail-sfs avatar Apr 13 '20 03:04 running-snail-sfs

给个复现地址

wubostc avatar Apr 13 '20 12:04 wubostc

给个复现地址 https://github.com/running-snail-sfs/dva-starter.git 运行下看看

running-snail-sfs avatar Apr 14 '20 08:04 running-snail-sfs

给个复现地址

好像就是表格的头会随着拖动拉长,内容区域不会,用这样的antd就没问题,你安装下包试试

running-snail-sfs avatar Apr 14 '20 09:04 running-snail-sfs

给个复现地址

能提个建议吗?方便写个文档吗?

running-snail-sfs avatar Apr 14 '20 11:04 running-snail-sfs

给个复现地址 https://github.com/running-snail-sfs/dva-starter.git 运行下看看

请用codesandbox

wubostc avatar Apr 14 '20 12:04 wubostc

给个复现地址 https://github.com/running-snail-sfs/dva-starter.git 运行下看看

请用codesandbox

https://codesandbox.io/s/antd-reproduction-template-fvm30?file=/page.js Cannot read property 'props' of undefined 问题

running-snail-sfs avatar Apr 15 '20 02:04 running-snail-sfs

晚上我看一下

wubostc avatar Apr 15 '20 04:04 wubostc

@running-snail-sfs 你用的是 antd4,这个版本目前并不兼容,你要用的话只能回滚到3

wubostc avatar Apr 15 '20 14:04 wubostc

@running-snail-sfs 你用的是 antd4,这个版本目前并不兼容,你要用的话只能回滚到3

https://codesandbox.io/s/antd-reproduction-template-fvm30?file=/page.js 换成3没报错了,表格可以显示,但是你将表格拖动拉到最大,表格就错位了

running-snail-sfs avatar Apr 16 '20 03:04 running-snail-sfs

@running-snail-sfs 你用的是 antd4,这个版本目前并不兼容,你要用的话只能回滚到3

https://codesandbox.io/s/antd-reproduction-template-fvm30?file=/page.js 换成3没报错了,表格可以显示,但是你将表格拖动拉到最大,表格就错位了

OK我周末本地调试一下

wubostc avatar Apr 16 '20 04:04 wubostc

@running-snail-sfs 我没看到错位啊

wubostc avatar Apr 18 '20 03:04 wubostc

@ running-snail- sfs我没看到错位啊

拉到最大会有的 image

running-snail-sfs avatar Apr 18 '20 05:04 running-snail-sfs

你这什么浏览器,反正我没有这种情况

wubostc avatar Apr 18 '20 06:04 wubostc

你这什么浏览器,反正我没有这种情况

chrome 你的不能接着拉大吗?不是可以无限的拉吗?

running-snail-sfs avatar Apr 18 '20 06:04 running-snail-sfs

拉倒最后拉,没出现你图里的情况,你看看是不是其它原因

wubostc avatar Apr 18 '20 06:04 wubostc

拉倒最后拉,没出现你图里的情况,你看看是不是其它原因

浏览器往屏幕左边拖动后,浏览器不是可以继续往右边拉吗,我就用的https://codesandbox.io/s/antd-reproduction-template-fvm30?file=/page.js这个地址代码应该是一样的呢

running-snail-sfs avatar Apr 18 '20 06:04 running-snail-sfs

你留出一个column宽做自适应,电脑太卡了。。

wubostc avatar Apr 18 '20 06:04 wubostc

问题解决了吗,要是解决了我就关了

wubostc avatar Nov 10 '20 13:11 wubostc