Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: issue with gutter width initialization (#1181)
Reproduce the original issue (in Chrome): 1. Directly go to http://intljusticemission.github.io/react-big-calendar/examples/index.html#selectable 2. Notice that you cannot see the day headers because the width of the gutter is set way too big By wrapping it in the requestAnimationFrame it ensures that it is set after the initial paint is finished (which does the css etc).
- Loading branch information