This is a migrated thread and some comments may be shown as answers.

Galaxy S4 listview ignoring click event

1 Answer 27 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 21 Feb 2014, 03:46 AM
This is gonna be a fun one for you guys :)  

so I'm dynamically building a listview of stuff on the show event for a given view.  I do this all over my app, just using plain ole JQuery and Kendo UI Mobile, so there's no databinding and the html for the listview isn't in the DOM when the view loads.  So I'm manually creating all of the html, injecting it into the DOM with jquery and wiring up the click events, and also applying the correct CSS to the html so it looks like Kendo UI like.  It's worked great so far, but I've only really been testing on iPhone, iPad, HTC One, HTC Droid DNA, and Nexus 7.

So I got my hands on a Galaxy S4..sigh...this is where the fun begins.  So now anytime I create a listview inside of a Kendo UI Mobile view, in the aforementioned manner, it will work but ONLY if the listview remains in view i.e. there's no portion of it hidden behind say the footer at the bottom of the view.  If there is a portion of the listview that is not visible, that I need to scroll into view, the click events do not work on the listview.  If i scroll the listview into view then the clicks start working again.

I tried to recreate this with a demo app but couldn't recreate the problem :(

Any theories as to what might be going on here and a way to fix it???

1 Answer, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 21 Feb 2014, 05:44 AM
I figured this one out...in a nutshell, always better to let Kendo UI handle event binding, not my random jquery :)  
Tags
Report a bug
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Share this question
or