Results 1 to 2 of 2

Thread: Button in DataItem, both firing events

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    5
    Vote Rating
    0
      0  

    Default 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
      0  

    Default answer

    event.stopPropagation()

    so that call makes it all happy.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •