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

get 0 for "this.props. containerHeight" #60

Open
thearabbit opened this issue Feb 28, 2017 · 2 comments
Open

get 0 for "this.props. containerHeight" #60

thearabbit opened this issue Feb 28, 2017 · 2 comments

Comments

@thearabbit
Copy link

thearabbit commented Feb 28, 2017

I use ant-desing layout

...
render() {
        console.log(this.props.containerWidth); // 1506 (work fine)
        console.log(this.props.containerHeight); // get 0 (zero) 
@thearabbit thearabbit changed the title get 0 for "this.props.containerWidth" get 0 for "this.props. containerHeight" Feb 28, 2017
@jbutton
Copy link

jbutton commented May 12, 2017

I have the same issue, any luck so far?

@jeremiahsimonsen
Copy link

I had the same issue. Using the option "elementResize: true" the containerHeight is set correctly.

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