Permalink
Browse files

Panel: Android 2.3.7 not scrolling to top when panel closes

Fixes gh-6767
Closes gh-7822
  • Loading branch information...
ldeluca authored and arschmitz committed Nov 3, 2014
1 parent b54b7e4 commit 0e1f405ad4e43b895647477b810e152f056ebe60
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/widgets/panel.js
View
@@ -413,6 +413,9 @@ $.widget( "mobile.panel", {
self.element.addClass( o.classes.panelClosed );
//scroll to the top
self._positionPanel( true );
if ( o.display !== "overlay" ) {
currentPage.parent().removeClass( o.classes.pageContainer );
self._wrapper.removeClass( o.classes.pageContentPrefix + "-open" );

0 comments on commit 0e1f405

Please sign in to comment.