react-big-scheduler icon indicating copy to clipboard operation
react-big-scheduler copied to clipboard

ReferenceError: width is not defined

Open AmmaraNiazi opened this issue 5 years ago • 0 comments

My code was working fine previously, all events shown and also resources. then suddenly this error occured. I dont know what is that. Also some

Scheduler.render C:/Users/HP/Desktop/proj/node_modules/react-big-scheduler/lib/index.js:320 317 | tbodyContent = _react2.default.createElement(_AgendaView2.default, this.props); 318 | } else { 319 | var resourceTableWidth = schedulerData.getResourceTableWidth();

320 | var schedulerContainerWidth = width - resourceTableWidth + 1; | ^ 321 | var schedulerWidth = schedulerData.getContentTableWidth() - 1; 322 | var DndResourceEvents = this.state.dndContext.getDropTarget(); 323 | var eventDndSource = this.state.dndContext.getDndSource(); View compiled

AmmaraNiazi avatar Jun 16 '19 12:06 AmmaraNiazi