Hi,
After updating to Bryntum Gantt 5.2.8, the zoomIn/zoomOut feature completely moves the scroll to another location. This occurs when the weekends are hidden.
Steps to reproduce:
- Go to advanced example ( https://bryntum.com/products/gantt/examples/advanced/ )
- In console, paste the following code to hide Weekends:
const oneDayInSeconds = 1000 * 60 * 60 * (24) * 1; gantt.timeAxis.filter({ id: 'hideWeekendFilter', filterBy: tick => { let weekday = true; if ((tick.duration >= oneDayInSeconds && tick.duration <= oneDayInSeconds) && (tick.startDate.getDay() == 6 || tick.startDate.getDay() == 0)) { weekday = false; } return weekday; } });
- Try zooming in 2-3 times using either mouse or buttons.
- The zoom would go to a different location
Can we maintain the centerDate/mouseFocus in scroll like it was in the previous versions?
Thanks,
Rayudu