reactScrollbar
reactScrollbar copied to clipboard
Won't execute scrollToY in componentDidMount
Use reference to access ScrollArea HOC, can log it's methods and nodes. But can't scroll to offset needed.
I have the same problem, but in componentDidUpdate. Both scrollYTo and scrollBottom methods.
facing same issue using scrollYTo in componentWillReceiveProps.
got a error of Cannot read property 'offsetHeight' of null
Same. Get the offsetHeight error above when using the ScrollArea context and trying to execute scrollYTo or refresh() in componentDidMount and componentDidUpdate methods. I am using React 16.4.