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

Rows not expanded by default #19166

Closed
1 task done
DeveloperFromUkraine opened this issue Oct 11, 2019 · 1 comment
Closed
1 task done

Rows not expanded by default #19166

DeveloperFromUkraine opened this issue Oct 11, 2019 · 1 comment
Assignees

Comments

@DeveloperFromUkraine
Copy link

DeveloperFromUkraine commented Oct 11, 2019

  • 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/s/react-functional-component-b4t7j?fontsize=14

What is expected?

expanded all by default

What is actually happening?

not expand

Environment Info
antd 3.23.6
React latest
System macOS
Browser Chrome
@afc163
Copy link
Member

afc163 commented Oct 12, 2019

defaultXxx only works on first render, just like defaultValue for input.

https://ant.design/docs/react/faq#It-doesn't-work-when-I-change-defaultValue-dynamically

@afc163 afc163 closed this as completed Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants