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

View scrolling locks up, unlocks on drawer show+hide

2 Answers 235 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kbelisle
Top achievements
Rank 1
kbelisle asked on 10 Oct 2013, 04:02 PM
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 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 11 Oct 2013, 08:17 AM
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!
0
kbelisle
Top achievements
Rank 1
answered on 11 Oct 2013, 01:17 PM
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");
Tags
General Discussions
Asked by
kbelisle
Top achievements
Rank 1
Answers by
Petyo
Telerik team
kbelisle
Top achievements
Rank 1
Share this question
or