Skip to content
This repository has been archived by the owner. It is now read-only.

Dragging event also fires range selection #614

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

Comments

Projects
None yet
3 participants
@trks1970
Copy link

trks1970 commented Jun 24, 2017

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

This comment has been minimized.

Copy link
Collaborator

burtek commented Jun 24, 2017

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

@trks1970

This comment has been minimized.

Copy link
Author

trks1970 commented Jun 24, 2017

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

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jun 26, 2017

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

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jun 26, 2017

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

@trks1970

This comment has been minimized.

Copy link
Author

trks1970 commented Jun 26, 2017

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

@mattlewis92

This comment has been minimized.

Copy link
Owner

mattlewis92 commented Jun 26, 2017

That's great to hear! 😀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.