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

Fix case when scrollToPosition will not update internal state in React >= 16.4. #1288

Merged
merged 1 commit into from
May 3, 2019

Commits on Dec 14, 2018

  1. Fix case when scrollToPosition will not update internal state in Reac…

    …t >= 16.4.
    
    In cases when the Grid component is controlled (WindowScroller, MultiGrid) fields scrollLeft and scrollTop ware not updated on setState call. getDerivedStateFromProps
    is called before every render starting from React 16.4 and those fields were overridden by previous props.
    eeremeev committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    1e6404e View commit details
    Browse the repository at this point in the history