1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    5
    Vote Rating
    0
    douglasknudsen is on a distinguished road

      0  

    Default Unanswered: Button in DataItem, both firing events

    Unanswered: Button in DataItem, both firing events


    I cranked out a custom DataItem that houses a Button or two. I listen for 'tap' on the button and I listen for 'itemsingletap' on the DataView. When I tap the button, both events are firing. Can I absorb one or prevent the 'itemsingletap' from occurring when the Button 'tap' fires? Maybe a better way to handle this?

    DK

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    5
    Vote Rating
    0
    douglasknudsen is on a distinguished road

      0  

    Default answer

    answer


    event.stopPropagation()

    so that call makes it all happy.

Tags for this Thread