File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -203,13 +203,14 @@ let TimeGrid = React.createClass({
203
203
let isRtl = this . props . rtl ;
204
204
let header = this . refs . headerCell ;
205
205
let width = this . _gutterWidth
206
+ let gutterCells = [ findDOMNode ( this . refs . gutter ) , ...this . _gutters ]
206
207
let isOverflowing = this . refs . content . scrollHeight > this . refs . content . clientHeight ;
207
208
208
- this . _gutterWidth = getWidth ( findDOMNode ( this . refs . gutter ) ) ;
209
+ this . _gutterWidth = Math . max ( ... gutterCells . map ( getWidth ) ) ;
209
210
210
211
if ( width !== this . _gutterWidth ) {
211
212
width = this . _gutterWidth + 'px' ;
212
- this . _gutters . forEach ( node => node . style . width = width )
213
+ gutterCells . forEach ( node => node . style . width = width )
213
214
}
214
215
215
216
if ( isOverflowing ) {
You can’t perform that action at this time.
0 commit comments