Collapsblock header Taphold Event issues
I noticed that there was no Appery way to set events on a collapsblock header, so I put this code into a function:
function QuoteTap() {
var result = confirm("Would you like to make a new quote?");
if (result) {
Appery.navigateTo('edit_info_screen', {
transition: 'pop'
});
}
}
and this code in the Page Show event:
Apperyio("quotes").bind( "taphold", QuoteTap);
Basically I wanted to confirm dialog on tap hold of the header to take to me to a dialog when I clicked ok. All of that works, but on two Android tablets I noticed that the destination page is pretty much frozen and the controls are all unresponsive. I can go back by using the device's back button and now everything is unresponsive. However, I do not have this problem on a phone. I can confirm that one of the tablets are running Android 4.4.2 and the phone is running 5.0.2.
After further testing I have isolated this issue to the taphold event of the collapsblock header only as the same .bind() code works on buttons and the result is the same whether the target I am navigating to is a page or dialog.
I guess now I know why Appery doesn't have a way to add events to a collapsblock header...