Galaxy S4 listview ignoring click event

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 20 Feb 2014 Link to this post

    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???
  2. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 20 Feb 2014 in reply to Ryan Link to this post

    I figured this one out...in a nutshell, always better to let Kendo UI handle event binding, not my random jquery :)  
Back to Top