Premium support for our pure JavaScript UI components


Post by allwd »

Hi,
I've found a bug, when using gantt.zoomToFit(), scheduler displays correct tasks, but horizontal scroll is at wrong position:

Screenshot 2020-10-19 at 22.35.51.png
Screenshot 2020-10-19 at 22.35.51.png (550.49 KiB) Viewed 689 times

it should be:

Screenshot 2020-10-19 at 22.35.59.png
Screenshot 2020-10-19 at 22.35.59.png (552.42 KiB) Viewed 689 times

To test visit https://www.bryntum.com/examples/gantt/basic/ and type in the console:

gantt.zoomToFit()

and then try to move the scroll with cursor.

Using zoomToFit twice with second one delayed by 500ms fixes the issue, although it's a bad workaround.


Post by alex.l »

Hi allwd,

Thanks for your reports, I've reproduced this, here is a ticket: https://github.com/bryntum/support/issues/1715

All best,
Alex

All the best,
Alex


Post Reply