From f37cfbff82529464c280f771bcbb2ac1825567ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Tue, 17 Jul 2018 08:38:00 +0200 Subject: [PATCH] Prevent scrolling body when reaching bottom of project autocompleter [ci skip] --- .../stylesheets/content/menus/_project_autocompletion.sass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/content/menus/_project_autocompletion.sass b/app/assets/stylesheets/content/menus/_project_autocompletion.sass index 93ea6392b0..6c0dc9d22a 100644 --- a/app/assets/stylesheets/content/menus/_project_autocompletion.sass +++ b/app/assets/stylesheets/content/menus/_project_autocompletion.sass @@ -7,6 +7,9 @@ left: -1px width: 400px background: white + // Avoid scrolling body when autocompleter is at bottom + // (May not be supported by all browsers yet, but soonish) + overscroll-behavior: contain @include default-font($header-drop-down-projects-search-font-color, 13px) li