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

官网示例bug #3190

Closed
wznonstop opened this issue Sep 28, 2016 · 14 comments
Closed

官网示例bug #3190

wznonstop opened this issue Sep 28, 2016 · 14 comments
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@wznonstop
Copy link

发生问题的环境是:

  • antd 版本:
    image
  • 操作系统及其版本:

image

  • 浏览器及其版本:
    image

您做了什么?

查看官网示例

您期待的结果是:

应该看不到下面那层的滚动条
image

实际上的结果是:

image

可重现的在线演示

http://ant.design/components/table/#components-table-demo-grouping-columns

@benjycui
Copy link
Contributor

一样的环境,没有重现。

是 100% 可重现的么?

@afc163
Copy link
Member

afc163 commented Sep 28, 2016

呃,感觉是楼主的屏幕很宽,没有出现横向滚动条的缘故。@benjycui 可以减少中间的列数来重现。

@wznonstop
Copy link
Author

又发现了一个新的问题,在下面框选的部分滚动的时候,滚到最下面会错位:
image
错位了:
image

@wznonstop
Copy link
Author

我的电脑上不进行滚动时滚动条还在,拿同事电脑看了一下,他的是不进行滚动时滚动条就不会出现,结果又看到了一个应该是bug的情形,就是有两个横向滚动条:
image

这个情况应该普遍存在,两个同事电脑上都出现了。

@benjycui benjycui added the 🐛 Bug Ant Design Team had proved that this is a bug. label Sep 29, 2016
@benjycui
Copy link
Contributor

像固定表头那样默认展示滚动条对齐? cc @afc163

image

@afc163
Copy link
Member

afc163 commented Sep 29, 2016

对,只能这样。

@wznonstop
Copy link
Author

还看到了几个偶发性bug:
http://note.youdao.com/noteshare?id=debc3cda00d5a3572b4b52f8a00b60fd

@benjycui
Copy link
Contributor

@wznonstop 我们这儿是打不开有道的。。

@agoni1212
Copy link

image

image

IE 10 上更离谱

image

@wznonstop
Copy link
Author

我把有道的内容复制过来了:
1. 偶发性bug1:
image
有时横向滚动时,固定列的阴影没有加上。这个bug的复现率很高。

  1. 偶发性bug2:
    image
    进行上下或左右滚动时,固定列头的列未跟随内部的内容滚动:
    不跟随滚动bug.zip

这个bug的出现需要契机。。。

  1. 技术实现方案导致的冲突问题:折叠展开和固定列头不可并存:
    image

@afc163
Copy link
Member

afc163 commented Oct 12, 2016

提供一个可重现的演示,帮助我们更快的排查到问题。:smile:

http://codepen.io/anon/pen/wGOWGW?editors=001


能重现出来才好解决,否则我们就像盲人摸象。

@ddcat1115
Copy link
Contributor

@agoni1212 你的第一个图是因为横向距离足够,不用出滚动条,但又配置了scroll-x和fixed left/right,去掉scroll相关的应该就对了。。。。其他的没法重现~

@afc163
Copy link
Member

afc163 commented Oct 17, 2016

@ddcat1115 👍

@afc163 afc163 closed this as completed Oct 17, 2016
@lock
Copy link

lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

No branches or pull requests

5 participants