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

Layout布局中Silder设置了collapsible,Content设置了最小宽度,当界面出现滚动条是,左右滑动时collapse固定在界面上,不适应滚动 #31288

Open
1 task
ChenYu29 opened this issue Jul 7, 2021 · 2 comments
Labels

Comments

@ChenYu29
Copy link

ChenYu29 commented Jul 7, 2021

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

https://codesandbox.io/embed/cebianbuju-antd4166-forked-fkene?fontsize=14&hidenavigation=1&theme=dark

What is expected?

Silder的collapse跟随滚动条一起滚动或者整个Silder不能滚动

What is actually happening?

collapse会固定在界面上,Silder中的菜单却和滚动条一起滚动了

Environment Info
antd 4.16.6
React 16.13.1
System window
Browser Google Chrome
@afc163
Copy link
Member

afc163 commented Jul 7, 2021

没看到你说的,能录个 gif 描述一下么?

@ChenYu29
Copy link
Author

ChenYu29 commented Jul 7, 2021

没看到你说的,能录个 gif 描述一下么?

打开codeSandbox的链接,将预览的页面拖动小于300px的宽度,就会出现横向滚动条,拖动滚动条,就会发现问题了

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

No branches or pull requests

2 participants