diff --git a/src/definitions/modules/sidebar.js b/src/definitions/modules/sidebar.js index dd74a08e93..4477b41dff 100644 --- a/src/definitions/modules/sidebar.js +++ b/src/definitions/modules/sidebar.js @@ -92,6 +92,9 @@ module.debug('Initializing sidebar', parameters); module.create.id(); + if (module.is.ios()) { + module.set.ios(); + } // avoids locking rendering if initialized in onReady if (settings.delaySetup) { diff --git a/src/definitions/modules/sidebar.less b/src/definitions/modules/sidebar.less index 330c98d9dd..03ec1e11d9 100755 --- a/src/definitions/modules/sidebar.less +++ b/src/definitions/modules/sidebar.less @@ -272,6 +272,10 @@ body.pushable > .pusher { iOS --------------- */ +html.ios .ui.sidebar { + touch-action: @iOStouchAction; +} + /******************************* Variations *******************************/ diff --git a/src/themes/default/modules/sidebar.variables b/src/themes/default/modules/sidebar.variables index 749efbdddd..b325e2917b 100644 --- a/src/themes/default/modules/sidebar.variables +++ b/src/themes/default/modules/sidebar.variables @@ -33,6 +33,8 @@ @topLayer: 102; @dimmerLayer: 1000; +@iOStouchAction: pan-y; + /* ------------------- Variations -------------------- */