diff --git a/www/drive/inner.js b/www/drive/inner.js index 03f0950b0..7ae821f13 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -2772,7 +2772,12 @@ define([ } });*/ - $content.scrollTop(s); + var $sel = $content.find('.cp-app-drive-element-selected'); + if ($sel.length) { + $sel[0].scrollIntoView(); + } elseĀ { + $content.scrollTop(s); + } appStatus.ready(true); }; var displayDirectory = APP.displayDirectory = function (path, force) {