Content
View differences
Updated by Henriette Darge almost 4 years ago
### Steps to reproduce
1. Login as a user
2. Go to a work package
3. Reduce the window height that has no description and therefore no scroll so that the date field is about two thirds away from the top
1. Note: There should be some space to the bottom but not enough to fit the whole datepicker modal below the field
4. 3. Click on "Dates" to open the date picker
Note: The bug is due to a timing issue so it might be worth repeating step 4 a few times
### What is the buggy behavior?
The date picker still appears bellow the field and gets cut as the screen doesn't have scroll.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33175/content"></div></figure>
### What is the expected behavior?
1. The date picker in this case should appear on top of the field so its displayed complete. This placement should be automatically taken in relation to the max height of the modal.
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other: Edge environment
**OpenProject version**
_v12.1.4_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
English
1. Login as a user
2. Go to a work package
3. Reduce the window height
1. Note: There should be some space to the bottom but not enough to fit the whole datepicker modal below the field
4.
Note: The bug is due to a timing issue so it might be worth repeating step 4 a few times
### What is the buggy behavior?
The date picker still appears bellow the field and gets cut
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/33175/content"></div></figure>
### What is the expected behavior?
1. The date picker in this case should appear on top of the field so its displayed complete. This placement should be automatically taken in relation to the max height of the modal.
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other: Edge environment
**OpenProject version**
_v12.1.4_
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
English