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

fixed Table 勾選列後,欄位位置錯誤 #22957

Open
1 task
wizard200541 opened this issue Apr 6, 2020 · 6 comments
Open
1 task

fixed Table 勾選列後,欄位位置錯誤 #22957

wizard200541 opened this issue Apr 6, 2020 · 6 comments

Comments

@wizard200541
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://imgur.com/mdLgADn

Steps to reproduce

點擊checkbox

What is expected?

https://imgur.com/peLrVBk

What is actually happening?

點擊checkbox,欄位就跑掉

Environment Info
antd 4.1.1
React 16.12.0
System win10
Browser IE 11
@yoyo837
Copy link
Contributor

yoyo837 commented Apr 6, 2020

麻烦使用 https://codesandbox.io/s/wk04r016q8 复现一下

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Apr 6, 2020
@ant-design-bot
Copy link
Contributor

Hello @wizard200541. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @wizard200541, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@wizard200541
Copy link
Author

@yoyo837 你好,codesandbox貌似不支援IE11,所以才用圖片
重現的步驟就是直接使用table同時設定固定欄位跟列表勾選
https://codesandbox.io/s/antd-reproduction-template-fowgx

此問題在chrome有設定position: sticky。
在IE會移除position:sticky,此時IE的position為relative,
在勾選後列表可能rerender造成欄位移動到原本設定left的位置?

@afc163 afc163 added Internet Explorer and removed 🤔 Need Reproduce We cannot reproduce your problem labels Apr 7, 2020
@wizard200541
Copy link
Author

有任何消息嗎

@liaocaiming
Copy link

chrome 55 以下也有类似现象

@afc163
Copy link
Member

afc163 commented Dec 16, 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

5 participants