Hello aejMulti ,
Render issues with increased number of items
Thank you for your feedback on the recent update.
We are aware of the rendering issues with unstable horizontal scrolling. Our team is actively working on a fix to resolve this as soon as possible. We appreciate your patience.
Localization not appearing in calendar rows
Regarding the localization issue, currently, the formats used in the Gantt bar view come from date-fns rather than the Svar locale, which is why they are not translated. We are planning to switch to using the Svar locale for these formats in version 2.4, so you can expect improvements in this area soon.
As a workaround you can use date-fns.
Please check the example with localization: https://stackblitz.com/edit/vitejs-vite-1a5xkkak?file=src%2FGanttComponent.jsx
Click to center task missing
As for the missing this functionality, this change is intentional rather than a bug. The behavior was modified because it may not always be desirable to scroll horizontally to the task bar, especially when using keyboard navigation in the grid.
But it can be implemented independently. You can subscribe to select-task action and, then recieve selected task using getTask method, call scroll-chart with relevant coordinates (please see the example above with the implemented functionality.):
const init = (api) => {
api.on('select-task', (ev) => {
const task = api.getTask(ev.id);
api.exec('scroll-chart', {
left: task.$x,
top: task.$y,
});
});
};