You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency arrows get stuck when dragging the successor and drag fails #13789
// Minimal data set reproducing the nested-events dependency line adjuster RangeError.
// Ids mirror the official "nested-events-dependencies" demo: event 110 -> resource 4 (Mont Blanc),
// event 120 -> resource 5 (Matterhorn), dependency 13 between them (cross-row, required by the bug).
export const projectData = {
resources : [
{ id : 4, name : 'Mont Blanc' },
{ id : 5, name : 'Matterhorn' }
],
events : [
{
id : 110,
name : 'Planning',
children : [
{ id : 111, name : 'Find sponsors', startDate : '2023-08-01', duration : 5, percentDone : 80 },
{ id : 112, name : 'Secure funds', startDate : '2023-08-01', duration : 5, percentDone : 90 },
{ id : 113, name : 'Contract guide', startDate : '2023-08-01', duration : 2, percentDone : 100 }
]
},
{
id : 120,
name : 'Planning',
children : [
{ id : 121, name : 'Find sponsors', startDate : '2023-08-02', duration : 4, percentDone : 40 },
{ id : 122, name : 'Secure funds', startDate : '2023-08-02', duration : 4, percentDone : 20 },
{ id : 123, name : 'Contract guide', startDate : '2023-08-02', duration : 2, percentDone : 10 }
]
}
],
assignments : [
{ id : 110, event : 110, resource : 4 },
{ id : 120, event : 120, resource : 5 }
],
dependencies : [
// Cross-resource, so generateBoundaryBoxes() populates lineDef.otherBoxes
{ id : 13, from : 110, to : 120 }
]
};
the only deviation from defaults is enabling nestedEvents while leaving dependencies.drawAroundParents unset.
I have attached a video of the bug reproduction as well.
Bryntum Scheduler Pro (trial) 7.3.5
Stack : React 19 + Vite 5, TypeScript
Base : examples/frameworks/react-vite/inline-data from the 7.3.5 trial distribution
Forum post
Hi Bryntum team,
I encountered this bug where the dependency arrows get stuck when dragging and dropping the successor and the drop fails.
trial\examples\frameworks\react-vite\inline-data\AppConfig.tsx
trial\examples\frameworks\react-vite\inline-data\AppData.ts
the only deviation from defaults is enabling nestedEvents while leaving dependencies.drawAroundParents unset.
I have attached a video of the bug reproduction as well.
Bryntum Scheduler Pro (trial) 7.3.5
Stack : React 19 + Vite 5, TypeScript
Base : examples/frameworks/react-vite/inline-data from the 7.3.5 trial distribution
dependency.arrow.getting.stuck.mp4
Regards,
amadavan