Skip to content

fix(dragAndDrop): add guard for undefined dragFromOutsideItem#2781

Open
nicolasVenard wants to merge 1 commit into
bigcalendar:masterfrom
nicolasVenard:fix/dragFromOutsideItem-undefined-guard
Open

fix(dragAndDrop): add guard for undefined dragFromOutsideItem#2781
nicolasVenard wants to merge 1 commit into
bigcalendar:masterfrom
nicolasVenard:fix/dragFromOutsideItem-undefined-guard

Conversation

@nicolasVenard
Copy link
Copy Markdown

Prevent 'is not a function' error by checking if dragFromOutsideItem is defined before calling it in _calculateDnDEnd methods.

Fixes #2780

Prevent 'is not a function' error by checking if dragFromOutsideItem
is defined before calling it in _calculateDnDEnd methods.

Fixes bigcalendar#2780
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dragFromOutsideItem issue when props is undefined

1 participant