Closed gkhan205 closed 3 years ago
I was having the same issue, But with following packages it works fine. This issue comes when you update react-big-scheduler to "0.2.7"
"react-dnd": "5.0.0", "react-dnd-html5-backend": "5.0.1", "react-big-scheduler": "0.2.6",
Hi @zainbconf ,
Thank you it worked.
@StephenChou1017 , can you please fix this issue in the updated version?
@StephenChou1017 any plans for future updates?
this is still broken on updated version :(
Any plans to keep this project alive? Seems to be dead on arrival at the moment.
Any update about the status of this project? ☝️
Try this code:
import {DragDropContextProvider} from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
// In your render()
<DragDropContextProvider backend={HTML5Backend}>
<Scheduler schedulerData={schedulerData}
prevClick={prevClick}
nextClick={nextClick}
onSelectDate={onSelectDate}
onViewChange={onViewChange}
eventItemClick={eventClicked}
/>
</DragDropContextProvider>
Try this code:
import {DragDropContextProvider} from 'react-dnd'; import HTML5Backend from 'react-dnd-html5-backend'; // In your render() <DragDropContextProvider backend={HTML5Backend}> <Scheduler schedulerData={schedulerData} prevClick={prevClick} nextClick={nextClick} onSelectDate={onSelectDate} onViewChange={onViewChange} eventItemClick={eventClicked} /> </DragDropContextProvider>
Hi @ajaxsys , I was running into the same issue and tried your solution with no luck. After wrapping the scheduler in the DragAndDropProvider it still threw the same error.
I was able to get it working by downgrading to version 0.2.6 as @zainbconf suggested.
I was having the same issue, But with following packages it works fine. This issue comes when you update react-big-scheduler to "0.2.7"
"react-dnd": "5.0.0", "react-dnd-html5-backend": "5.0.1", "react-big-scheduler": "0.2.6",
Still the same problem in 2021, use this solution it works
Closing this issue as there is no response from the author for a long.
any fix for this or any other library open source like this I need for project
Hi @StephenChou1017 ,
I'm getting this error when I installed and created a top level component for my app as your example/Basic.
Have tried everything I found on internet but none worked. Please help me with this. its very crucial for me.