Skip to content

Conversation

@jiangzhu-genie
Copy link

@jiangzhu-genie jiangzhu-genie commented Oct 8, 2018

currently when start dragging an event, the handleInteractionStart get triggered multiple times but only first setState is required. This MR add a if check to avoid unnecessary setState calls.

The speed change is noticeable for DnD in resource schedule with week view.

@jiangzhu-genie
Copy link
Author

Just noticed it's a duplicate PR to #1020

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.

1 participant