We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7df63a0 commit 5ac5c30Copy full SHA for 5ac5c30
src/TimeGrid.jsx
@@ -206,9 +206,13 @@ let TimeGrid = React.createClass({
206
let gutterCells = [findDOMNode(this.refs.gutter), ...this._gutters]
207
let isOverflowing = this.refs.content.scrollHeight > this.refs.content.clientHeight;
208
209
+ if (width)
210
+ gutterCells.forEach(
211
+ node => node.style.width = '');
212
+
213
this._gutterWidth = Math.max(...gutterCells.map(getWidth));
214
- if (width !== this._gutterWidth) {
215
+ if (this._gutterWidth && width !== this._gutterWidth) {
216
width = this._gutterWidth + 'px';
217
gutterCells.forEach(node => node.style.width = width)
218
}
0 commit comments