Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

托动放大,表格错位 #57

Open
running-snail-sfs opened this issue Apr 13, 2020 · 19 comments
Open

托动放大,表格错位 #57

running-snail-sfs opened this issue Apr 13, 2020 · 19 comments

Comments

@running-snail-sfs
Copy link

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

@running-snail-sfs
Copy link
Author

希望你看看,并修复

@wubostc
Copy link
Owner

wubostc commented Apr 13, 2020

给个复现地址

@running-snail-sfs
Copy link
Author

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

@running-snail-sfs
Copy link
Author

给个复现地址

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

@running-snail-sfs
Copy link
Author

给个复现地址

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

@wubostc
Copy link
Owner

wubostc commented Apr 14, 2020

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

请用codesandbox

@running-snail-sfs
Copy link
Author

给个复现地址
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 问题

@wubostc
Copy link
Owner

wubostc commented Apr 15, 2020

晚上我看一下

@wubostc
Copy link
Owner

wubostc commented Apr 15, 2020

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

@running-snail-sfs
Copy link
Author

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

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

@wubostc
Copy link
Owner

wubostc commented Apr 16, 2020

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

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

OK我周末本地调试一下

@wubostc
Copy link
Owner

wubostc commented Apr 18, 2020

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

@running-snail-sfs
Copy link
Author

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

拉到最大会有的
image

@wubostc
Copy link
Owner

wubostc commented Apr 18, 2020

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

@running-snail-sfs
Copy link
Author

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

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

@wubostc
Copy link
Owner

wubostc commented Apr 18, 2020

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

@running-snail-sfs
Copy link
Author

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

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

@wubostc
Copy link
Owner

wubostc commented Apr 18, 2020

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

@wubostc
Copy link
Owner

wubostc commented Nov 10, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants