-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters