1. clone repository https://github.com/renatoruk/bryntum-scheduler-react-test
2. checkout branch scroll-to-event from origin/scroll-to-event
3. create vendor folder in the root directory
4. paste scheduler-vanilla-2.1.3 zip in the vendor directory
5. extract scheduler to that folder and rename to scheduler
6. run npm install in the project's root directory
7. run "npm run start" after installation
Steps for reproduction A:
1. press update events button
BryntumScheduler.tsx component internally has this block
if (this.props.scrollToEvent !== undefined) {
// @ts-ignore
this.schedulerEngine.scrollEventIntoView(this.props.scrollToEvent, {
animate: 1000,
highlight: true,
}).then(() => {
// @ts-ignore
console.log(`scrolled ${this.props.scrollToEvent.name} into view`);
});
// @ts-ignore
this.schedulerEngine.selectEvent(this.props.scrollToEvent);
}
Steps for reproduction B:
1. select an event in select box on top or press update events
In the scrolling example everything works, but when I wrap that into react with extended models and resources, it does not.
I tried refreshing the grid manually with refreshWithTransition, but it did not help. Currently, I am out of options as I tried searching the forum for this and browsed through your public support tickets to page 4.
Do you have an idea what could be the fix?
Cheers,
Renato