# Bug OP-13963 - Search bar doesn't stretches back if blank, has it's inside text matching the bar color (white) 

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-13963

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2023-12-15 –  |
| Priority | Medium |
| Module |  |
| Target versions | 13.4.0 |
| Observed in versions | 13.1.0 |
| Sprint | 13.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Before filing a report

*Before you file a report, please ensure you are running the latest version of OpenProject and*   
*have searched for similar bug reports.*

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Click on the search bar 
2.  Click outside the search bar

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The search bar doesn't stretches back to the original size after leaving it in blank, even when you interact with other elements outside the header bar.
  - The placeholder text "*Search in PROJECT NAME*" doesn't change its color to gray 

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  The search bar should go back to the look of **before interaction (image on screenshots)**

### Important note

*Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, but no longer add any new images or other attachments. Please make sure that all necessary information and attachments are added, and the following attributes are set:*

### **Logs**

*Are there errors in the browser console? (*[*Click here for information on how to open your browser's console*](https://webmasters.stackexchange.com/a/77337)*) For a local installation: Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable*

### Screenshots and other files

*If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section.*

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Before interaction</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><i><img class="op-uc-image op-uc-image_inline op-uc-image" src="/api/v3/attachments/82921/content"></i></p></td></tr></tbody></table></figure><figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">After interaction</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p"><i><img class="op-uc-image op-uc-image_inline op-uc-image" src="/api/v3/attachments/82919/content"></i></p></td></tr></tbody></table></figure><figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">After clicking outside</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/82920/content"></div></figure></td></tr></tbody></table></figure>

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [ ] Hosted cloud edition
- [x] Packaged installation
    - Linux Ubuntu 22.04
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

*OpenProject v13.1.0*

**Browser**

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

**Language**

*Portuguese*
