From a0e1e29b52cf05e47ed8efa1761634d601e19823 Mon Sep 17 00:00:00 2001 From: Evan Scott Date: Sun, 3 Dec 2017 13:51:19 -0500 Subject: [PATCH] Fix: Improve the sidebar scroll UX for touch devices (#721) --- src/rsg-components/StyleGuide/StyleGuideRenderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rsg-components/StyleGuide/StyleGuideRenderer.js b/src/rsg-components/StyleGuide/StyleGuideRenderer.js index 5e919f121..d33ebaed9 100644 --- a/src/rsg-components/StyleGuide/StyleGuideRenderer.js +++ b/src/rsg-components/StyleGuide/StyleGuideRenderer.js @@ -35,6 +35,7 @@ const styles = ({ color, fontFamily, fontSize, sidebarWidth, mq, space, maxWidth bottom: 0, width: sidebarWidth, overflow: 'auto', + '-webkit-overflow-scrolling': 'touch', [mq.small]: { position: 'static', width: 'auto',