Our pure JavaScript Scheduler component
I have scheduled that working on the computer not mobile
If I use it on the mobile browser is Show me White page
Any errors on the console? Can you provide a test case with code so we can debug?
I was debugging it and the problem in
startDate: new Date()
endDate: new Date()
Hi,
Please provide a runnable test case. We'll check what's wrong.
Best regards,
Tasnim
let today = new Date()
const [requestedDate, setRequestedDate] = useState(`${today.getFullYear()}-${today.getMonth() + 1}-${today.getDate()}`);
const schedulerConfig = {
timelineZoomable: 1,
minHeight: '54em',
rowHeight: 60,
startDate: new Date(`${requestedDate} 08:00`,)
endDate:new Date( `${requestedDate} 24:00`)
}
That's a bit odd way of creating dates. Can you please provide the raw value of startDate and endDate? Also, if you can upload a small runnable test case, that's preferred.
Whenever we use a new Date() in the component, It is not working fine for mobile.
Can you please provide the raw value of startDate and endDate? Also, if you can upload a small runnable test case, that's preferred.