I use Ext.List and ListItem components for listing. The problem is that, I can not use itemtap event anymore. I found why it would not work. Itemtap event only fires in list-item-body, but when i add some components in listitem structure, they are not rendered to link list-item-body. So these components, does not have any tap event specified. however i need to itemtap work all of the listitem.
Similar question can be found there
Any help will be appriciated.
Giving "x-list-item-body" cls to each component in my list item solves the problem. For example,
listItemLikeCount: {
cls: 'x-list-item-body likeCount'
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.