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

Collapse Panel scrollbar with extra prop #21148

Closed
1 task
rever96 opened this issue Jan 30, 2020 · 5 comments · Fixed by #21202
Closed
1 task

Collapse Panel scrollbar with extra prop #21148

rever96 opened this issue Jan 30, 2020 · 5 comments · Fixed by #21202
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@rever96
Copy link

rever96 commented Jan 30, 2020

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Create a Collapse with Panels that have extra prop, style the content or the panel with overflow to get the scrolling function

What is expected?

I expect that the content fill the parent width

What is actually happening?

the content is wrapped into a margin-right with the same width of the extra

Environment Info
antd 3.25.3
React react 16.12.0
System linux
Browser chrome
@zombieJ zombieJ added the 🐛 Bug Ant Design Team had proved that this is a bug. label Feb 2, 2020
@rever96
Copy link
Author

rever96 commented Feb 11, 2020

What is the version where I should update to get the clearfix?

@yoyo837
Copy link
Contributor

yoyo837 commented Feb 11, 2020

image

@rever96
Copy link
Author

rever96 commented Feb 11, 2020

Sry for going out-topic, but....
Attempted import error: 'Icon' is not exported from 'antd'.
Did you move the Icon? Where I can find what I should change to update from 3.26.9 to 4.0.0-rc.4?

@yoyo837
Copy link
Contributor

yoyo837 commented Feb 11, 2020

Move to "@ant-design/icons": "4.0.0-rc.0",

@yoyo837
Copy link
Contributor

yoyo837 commented Feb 11, 2020

See #12011 #20661

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants