nikantonelli / PortfolioItemTimeLine

Timeline for portfolio items with dependency strings & drag'N'drop positioning
MIT License
5 stars 5 forks source link

Fixes for stuck cards and dragging top-level nodes #3

Closed am283721 closed 5 years ago

am283721 commented 5 years ago

1: If a card was showing when the grid updated due to selecting a new artifact from the dropdown, the reference to the card would get lost and remain stuck on the screen. Cards are now destroyed during any update to the grid. 2: When dragging a node, check if it has a parent before attempting to fetch parent dates. _scheduleError logic has been merged into _checkSchedule function since the logic overlapped enough.