Sencha Touch Deselect List Item After Item Tap

All you need to do is add this wonderful little listener and a timeout. If anyone knows how do do this globally as an override to the List type, I’m all ears.

listeners: {
  itemtap: function(record, index, item, e) {
    setTimeout(function(){record.deselect(index);},500);
  }
}

©2005-2017 Blog – Epiphany Digital is proudly powered by Badgers and Web Design is by Epiphany Digital
Entries (RSS) and Comments (RSS). 35 queries. 9.819 seconds.

Thank you for visiting this site. The web fairy will visit you in your sleep... you know, I was going somewhere with this, but it really doesn't have as much innocent charm as the tooth fairy, especially when I picture the web fairy as someone much like the Simpsons' Comic Book Guy but with wings. It's just not something I want.