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

PropTypes related warning with WindowScroller #938

Closed
michaeldzjap opened this issue Jan 2, 2018 · 2 comments
Closed

PropTypes related warning with WindowScroller #938

michaeldzjap opened this issue Jan 2, 2018 · 2 comments

Comments

@michaeldzjap
Copy link

After updating to react-virtualized v9.15.0 I get a

Warning: Failed prop type: Invalid prop `scrollElement` of type `Window` supplied to `WindowScroller`, expected instance of `Element`.

warning. My usage is of the form:

<SomeCustomElm>
    <WindowScroller onResize={this.handleResize.bind(this)}>
        <AutoSizer disableHeight>
            <List
                ...
            />
        </AutoSizer>
    </WindowScroller>
</SomeCustomElm>

Any idea what might be wrong?

@bogdansoare
Copy link

Also getting this warning

@TrySound
Copy link
Contributor

TrySound commented Jan 5, 2018

@bogdansoare @michaeldzjap Will release this fix today.

@TrySound TrySound closed this as completed Jan 6, 2018
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