Pannable key and dysfunctional events

4 posts, 0 answers
  1. Ján Horník
    Ján Horník avatar
    9 posts
    Member since:
    Oct 2009

    Posted 10 Aug 2015 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 12 Aug 2015 Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Itai
    Itai avatar
    33 posts
    Member since:
    Feb 2016

    Posted 07 Apr in reply to Daniel Link to this post

    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.

  5. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 11 Apr Link to this post

    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready