# Bug RESMA-72 - Date picker is shown behind the modal, when the filter component is used in a modal

Project: Stream Resource Management
Status: closed
URL: https://community.openproject.org/work_packages/RESMA-72

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 17.9.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

###   

### Steps to reproduce

1.  Go to any page that uses a `FilterComponent` in a modal (i.e. create a resource planner view)
    
2.  Add a date filter (i.e. `created on`)
    
3.  Switch to an operator that uses a datepicker (either `between` or `on`
    
4.  Click into the values field
    

### What is the buggy behavior?

*   The date picker opens behind the modal
    

### What is the expected behavior?

1.  The date picker is properly shown in front of the modal
    

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/924634/content"></div></figure>
