react-bootstrap-table: undefined ref in adjustHeaderWidth

Hi Allen, thank you for this wonderful library.

I’m getting a Uncaught TypeError: Cannot read property 'refs' of undefined error when adjustHeaderWidth() is called, at line 823

screenshot from 2016-06-14 16-02-47

It seems like this.refs.header is null, but I’m not sure why.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

I once got the exactly the same problem, but after npm was upgraded to the latest version, it’s gone.