Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in ZoomToFit combined with infiniteScroll #7995

Closed
marciogurka opened this issue Dec 5, 2023 · 0 comments
Closed

Exception in ZoomToFit combined with infiniteScroll #7995

marciogurka opened this issue Dec 5, 2023 · 0 comments
Assignees
Labels
angular Angular framework integration bug Something isn't working example forum Issues from forum high-priority Urgent to have fixed large-account Reported by large customer OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@marciogurka
Copy link

Forum post

"Hi,

we have a gantt plan that doesn't work well with the ZoomToFit function. Please see the sample attached.
If you click zoomtofit one or tow it shows an exception and it moves the timerange out of the projectstart/end area:

GIF 05.12.2023 17-02-11.gif

TypeError: Cannot read properties of null (reading 'getTime')
    at TimeAxis.getTickFromDate (gantt.module.js:105697:69)
    at TimeAxisViewModel.getScaledTick (gantt.module.js:106112:25)
    at TimeAxisViewModel.getPositionFromDate (gantt.module.js:106103:23)
    at TimeAxisViewModel.update (gantt.module.js:109609:57)
    at TimeAxisViewModel.trigger (gantt.module.js:5018:34)
    at TimeAxisViewModel.update (gantt.module.js:106072:10)
    at TimeAxisViewModel.onTimeAxisReconfigure (gantt.module.js:106033:12)
    at TimeAxis.trigger (gantt.module.js:5018:34)
    at TimeAxis.endreconfigure (gantt.module.js:105125:37)
    at TimeAxis.trigger (gantt.module.js:5018:34)
    at resolvePromise (zone.js:1213:1)
    at zone.js:1120:1
    at asyncGeneratorStep (asyncToGenerator.js:6:1)
    at _next (asyncToGenerator.js:25:1)
    at asyncToGenerator.js:32:1
    at new ZoneAwarePromise (zone.js:1387:1)
    at asyncToGenerator.js:21:1
    at Gantt.scrollToDate (gantt.module.js:108772:44)
    at Gantt.onZoomToSpan (gantt.module.js:108629:14)
    at Gantt.callback (gantt.module.js:2407:47)

"

taskeditor.zip

@marciogurka marciogurka added bug Something isn't working angular Angular framework integration example forum Issues from forum large-account Reported by large customer OEM OEM customer labels Dec 5, 2023
@matsbryntse matsbryntse added the high-priority Urgent to have fixed label Dec 6, 2023
@JockeLindberg JockeLindberg self-assigned this Dec 8, 2023
@JockeLindberg JockeLindberg changed the title Exception in ZoomToFit - Cannot read properties of null (reading 'getTime') Exception in ZoomToFit combinated with infiniteScroll Dec 8, 2023
@JockeLindberg JockeLindberg changed the title Exception in ZoomToFit combinated with infiniteScroll Exception in ZoomToFit combined with infiniteScroll Dec 8, 2023
@isglass isglass added resolved Fixed but not yet released (available in the nightly builds) and removed in progress labels Dec 11, 2023
@isglass isglass added this to the 5.6.3 milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular Angular framework integration bug Something isn't working example forum Issues from forum high-priority Urgent to have fixed large-account Reported by large customer OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

4 participants