This is a migrated thread and some comments may be shown as answers.

Pannable key and dysfunctional events

3 Answers 68 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Erich
Top achievements
Rank 1
Erich asked on 10 Aug 2015, 08:57 AM
Hi,
I have problem with pannable key and events in diagram.

If I have Pannable key = "None"  (Pannable(p=>p.Key(DiagramPannableKey.None)))
then events Select and Click are dysfunctional.

I need Select event and pannable key = "None".
How can I solve this problem ?

Thanks

3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 12 Aug 2015, 07:32 AM
Hello,

If the pannable key is set to none then you should set a key for the selection. The two actions cannot be distinguished unless a key is set for at least one of them.

Regards,
Daniel
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Itai
Top achievements
Rank 1
answered on 07 Apr 2016, 06:02 AM

Click event is not necessarily a select event. 

The same way Drag Start and Drag End are raised with every click, I think Click should be raised even if Pan is raised, for what the user is obviously meaning to be a click and not a pan, that is - the mouse clicked then quickly released, with minimal movement. 

I think this should be considered a bug. Please advise if I this will ever be fixed, or if there is some workaround (other than setting a key for either panning or clicking. I only need click, not select).

 

Thanks.

0
Daniel
Telerik team
answered on 11 Apr 2016, 07:36 AM
Hello,

I do not consider this as bug but given the multiple requests to allow panning and single selection we have already changed the behavior. For the next official it would be possible to select the elements no matter the key configuration. The multiple selection will still require a key if none is set for the panning.

Regards,
Daniel
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Diagram
Asked by
Erich
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Itai
Top achievements
Rank 1
Share this question
or