# Bug DREAM-595 - On mobile, global search result box shows a lot of white space

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-595

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system, Native apps / Mobile, Modules and project features / Search |
| Target versions | 17.1.0 |
| Observed in versions | 17.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.0.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Behrokh Satarnejad |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Be on mobile

2.  Tap on the global search box

### What is the buggy behaviour?

  - When the box opens and there aren't many results, then the bottom shows a lot of white space

### What is the expected behaviour?

1.  from <https://community.openproject.org/projects/gmbh/meetings/8175> :
    
    Take the "normal" height until
    
    It goes over the viewport height, in which case the container takes *almost* max-height (but you see the bottom) and then scrolls within it.

### 

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918175/content">

### Environment information

**OpenProject version**

Core build

[62104d8a2604563b4e55f74ce0732964a0c0f995](https://github.com/opf/openproject/commits/62104d8a2604563b4e55f74ce0732964a0c0f995)

Product version

[bc03cbd4a62966e015c584f23787fd92510297be](https://github.com/opf/saas-openproject/commits/bc03cbd4a62966e015c584f23787fd92510297be)

Core version

OpenProject 17.0.0

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [x] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [ ] Mac OS X
- [x] Mobile iOS
- [x] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
