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

Uncaught (in promise) TypeError: schedulerData.getSchedulerContentDesiredHeight is not a function

Open jovimassimiliano opened this issue 6 years ago • 7 comments

Hi am currently trying to use react-big-scheduler as a component on my project but I face an issue said getSchedulerContentDeisredHeight is not a function. I am still using react version 15.6.1. any thought to solve it? Many thanks before

jovimassimiliano avatar Aug 18 '18 20:08 jovimassimiliano

@jovimassimiliano It seems that you have a spelling error, getSchedulerContentDeisredHeight -> getSchedulerContentDesiredHeight, is that the reason? :-)

StephenChou1017 avatar Aug 19 '18 00:08 StephenChou1017

Hello sorry actually it's getSchedulerContentDesiredHeight is not function hehe, I did typo while typing this issue. I just installed the latest version and use it as a component by calling Scheduler.

screen shot 2018-08-19 at 11 37 34

jovimassimiliano avatar Aug 19 '18 04:08 jovimassimiliano

even I copied the code from your Basic.js source code and it returned same error :(

jovimassimiliano avatar Aug 19 '18 04:08 jovimassimiliano

@jovimassimiliano Hi, the 0.2.1 version needs react@^16.0.0, maybe you can try the 0.1.0 version, it needs react@^15.4.1

StephenChou1017 avatar Aug 21 '18 08:08 StephenChou1017

Facing the same issue.. react version 16.0.0 and big-scheduler 0.2.1

nimesha95 avatar Aug 22 '18 02:08 nimesha95

Ah never mind, found the problem. In my case "schedulerData" objecr is not passing as a props.

nimesha95 avatar Aug 22 '18 03:08 nimesha95

Ah never mind, found the problem. In my case "schedulerData" objecr is not passing as a props.

How did u fix it?

AmmaraNiazi avatar Jun 16 '19 13:06 AmmaraNiazi