View scrolling locks up, unlocks on drawer show+hide

3 posts, 0 answers
  1. kbelisle
    kbelisle avatar
    4 posts
    Member since:
    Sep 2013

    Posted 10 Oct 2013 Link to this post

    I've distilled the problem into a jsfiddle here: http://jsfiddle.net/dTBN6/6/

    You can reproduce the problem by doing the following steps :
    1. Click the "To page 2" button
    2. Resize your window so content is long enough to allow scrolling
    3. Scroll down a bit
    4. Open drawer and go back to page 1
    5. Click the "To page 2" button again
    6. Attempt to scroll - the view's scrolling is locked
    7. Open drawer. Then close it.
    8. Attempt to scroll - it works
    9. Repeat from step 4
    If you access page 2 via the link in the drawer, scrolling does not lock up.

    What gets triggered when the drawer is shown / hidden that causes the scrolling to unlock?
    Can I trigger this manually in page two's "show" event handler?
    Is there anyway to fix this?
  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 11 Oct 2013 Link to this post

    Hi Kevin,

    thank you very much for the provided test case. I confirm the problem - we will log it and try to address it as soon as possible, most probably in one of our upcoming internal builds. I am also updating your telerik points for this finding.

    Regards,
    Petyo
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. kbelisle
    kbelisle avatar
    4 posts
    Member since:
    Sep 2013

    Posted 11 Oct 2013 Link to this post

    If anyone else encounters this problem...

    By
    looking at this function :
    $("#drawerID").data("kendoMobileDrawer").hide
    I found the following was being called :
    this.currentView.scroller.enable()

    And by adding this to page two's show event handler, I was able to patch the problem :
    $( $(showEvt.view.id) ).data("kendoMobileView").scroller.enable();

    This bug is apparent whether you use <a href="#viewID"> or app.navigate("viewID");
Back to Top