# Feature OP-10631 - Unify scrollbars everywhere for the same browser/user

Project: OpenProject
Status: specified
URL: https://community.openproject.org/work_packages/OP-10631

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

There are currently a number of different scrollbar implementations within OpenProject. The most notable difference is between native OS scrollbars and custom ones. Whilst the difference are sometimes minor and unnoticable (on a Mac, for example, that by default hides scrollbars until one starts scrolling), they can sometimes be jarring, especially in Windows, where the native ones are noticably thicker and clunkier than the custom development.

In certain situations (again in Windows, primarily), the presence of scrollbars can sometimes *push* content by a few pixels, leading to alignment issues.

This feature aims to unify all scrollbars for a user, for their OS and browser.

### Related

Note: There is a separate work package to unify scrollbars *across* OSes and browsers: <mention class="mention" data-id="43028" data-type="work_package" data-text="#43028">\#43028</mention>.

### **Acceptance criteria**

  - When using **one browser:** All scrollbars in OpenProject look and behave consistently. This includes in:
      - Work package lists
      - Team planner
      - Modals
      - Main search bar results
      - Project list
      - Sidebar
      - Split screen tabs
      - ...
  - The custom scrollbar will only be visible when actually hovering the container and starting to scroll (similar to on Mac)
  - The scrollbar will not "take" any space or require any additional margin and padding; it will simply float on top.

### Examples

Some inconsistencies.

#### Firefox on Mac OS 12.4

*Filter selection dropdown:*

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/34461/content"></div></figure>

*Sidebar:*

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/34464/content"></div></figure>

*Team planner:*

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/34462/content"></div></figure>

*Main project select dropdown:*

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/34463/content"></div></figure>

**Technical note:**

  - We use a sass-mixin `styled-scrollbar` to style the scrollbar. This mixin is currently not used throughout the whole application.
  - So probably a global rule for all elements to use the mixin should cover most of the cases.
