Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix safari mobile scrolling bug

Inga Mai45558235d625
diff --git a/app/assets/stylesheets/layout/_base_mobile.sass b/app/assets/stylesheets/layout/_base_mobile.sass
index 7a338dac99c..4975e051ca5 100644
--- a/app/assets/stylesheets/layout/_base_mobile.sass
+++ b/app/assets/stylesheets/layout/_base_mobile.sass
@@ -42,7 +42,11 @@
// Slide header in and out on scroll (see also: _top_menu_mobile.sass)
.-header-scrolled &
height: 100vh
- transition: height .4s
+
+ body.-browser-safari
+ #content-wrapper
+ // Needed for smooth scrolling on Safari mobile
+ transition: height 0s
#main
grid-template-columns: auto