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 on scrollTaskIntoView/scrollUnrenderedTaskIntoView if node collapsed #7361

Closed
chuckn0rris opened this issue Aug 23, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@chuckn0rris
Copy link

Forum post

https://bryntum.com/products/gantt/examples/resourceutilization/

Collapse all nodes
Click on item in ResourceHistogram
See error in the console

Uncaught TypeError: Cannot read properties of null (reading 'translate')
    at Gantt.scrollUnrenderedTaskIntoView (gantt.module.js?470047:63:2077158)
    at Gantt.scrollTaskIntoView (gantt.module.js?470047:63:2076884)
    at _ResourceUtilization.cellClick (app.module.js?470047:130:23)
    at _ResourceUtilization.trigger (gantt.module.js?470047:10:75606)
    at _ResourceUtilization.triggerCellMouseEvent (gantt.module.js?470047:63:33724)
    at _ResourceUtilization.onElementClick (gantt.module.js?470047:63:35079)
    at _ResourceUtilization.onElementClick (gantt.module.js?470047:63:424755)
    at functionChainRunner (gantt.module.js?470047:10:247840)
    at a.<computed> [as onElementClick] (gantt.module.js?470047:10:247387)
    at _ResourceUtilization.onHandleElementClick (gantt.module.js?470047:63:34933)
@chuckn0rris chuckn0rris added bug Something isn't working premium forum Issues from forum large-account Reported by large customer OEM OEM customer labels Aug 23, 2023
@matsbryntse matsbryntse self-assigned this Aug 24, 2023
@matsbryntse matsbryntse added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Aug 24, 2023
@matsbryntse matsbryntse added this to the 5.5.2 milestone Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants