Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.

Dragging event also fires range selection #614

Closed
trks1970 opened this issue Jun 24, 2017 · 6 comments
Closed

Dragging event also fires range selection #614

trks1970 opened this issue Jun 24, 2017 · 6 comments

Comments

@trks1970
Copy link

When dragging an event forward (eg: to a date after the current date in month view) on-date-range-select and on-event-times-changed are both invoked.
Is there a possibility to distinguish if range selection occured because of a drag or without an event being dragged?

@burtek
Copy link
Collaborator

burtek commented Jun 24, 2017

First of all - @mattlewis92, should on-date-range-select really be invoked in this case?

@trks1970
Copy link
Author

No, that would of course be the preferred case.
It should only be invoked, without a drag.

@mattlewis92
Copy link
Owner

This does look like a bug, the date range select simply shouldn't be invoked when dragging an event. Plunker: http://plnkr.co/edit/ykLjQN0uXyGBPBU16E6o?p=preview

@mattlewis92
Copy link
Owner

I've just cut 0.29.3 which should fix this, LMK if it works for you 😄

@trks1970
Copy link
Author

Aye, it does work. Thanks for the quick fix.

@mattlewis92
Copy link
Owner

That's great to hear! 😀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants