It should be attached to the email along with the zip. I will send it again just in case.
Support Forum
Hmm, that is strange. I sent over another zip of the repo, but I included the .env and updated the "dev" script to remove an unnecessary action.
How are you running this? I was able to get it up and going by doing this:
- Unzip all files to same folder
npm install --legacy-peer-deps
npm run dev
Also, are you making it to the auth0 login screen, or does it not display that at all?
If you are still having trouble, let me know. I can hop in a zoom call and see what's going on. I am in CST timezone but I can make time for this.
Hi there,
Thanks for sending it again. I was able to run and debug it. Upon reducing the test case to minimum code to repro the issue, I was able to figure out that it is not an issue of load
. It has something to do with most probably React. As the problem is only occuring when setting a date in selectedDate in useState var in handleNextDay click. Also the issue is not observed when I change the state var from date to string. It works as expected. So it was weird and need more debugging. So I have created a ticket here to further investigate this issue and fix it. https://github.com/bryntum/support/issues/8866.
Regards,
Ghous
Hey there,
After investigating, I have found that the issue is due to the columns
prop being set multiple times (on every component update) since it is inside the CustomScheduler
component. Even if it is the same config, the reference to it's object changes on each update, so it gets updated. Please do one of the following:
- Move the config outside the react component (a javascript variable), so it doesn't change reference, like in this example: https://bryntum.com/products/scheduler/examples/frameworks/react-vite/renderer-context/dist/ (Check the code for it in your download from customer zone's example folder:
Scheduler\examples\frameworks\react-vite\renderer-context
) - Put your config in a
useState
also, like in this example: https://bryntum.com/products/scheduler/examples/frameworks/react/javascript/react-events/build/ (Code in: Scheduler\examples\frameworks\react\javascript\react-events)
Regards,
Krona