# Odd behavior of Date widget in Tryton 5.4.8 for Windows

**URL:** https://discuss.tryton.org/t/odd-behavior-of-date-widget-in-tryton-5-4-8-for-windows/3001
**Category:** User
**Created:** [July 9, 2020, 5:07pm UTC](https://discuss.tryton.org/t/odd-behavior-of-date-widget-in-tryton-5-4-8-for-windows/3001 "2020-07-09T17:07:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bell](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/c67d28/32.png) [@bell](https://discuss.tryton.org/u/bell)
#### Post date: [July 9, 2020, 5:07pm UTC](https://discuss.tryton.org/t/odd-behavior-of-date-widget-in-tryton-5-4-8-for-windows/3001/1 "2020-07-09T17:07:54Z")

</div>

For some reason, it is impossible to select a date from the calendar if Date widget is at the bottom of a view.

This applies to both the tree view:

 ![Clipboard01](https://discuss-cdn.tryton.org/uploads/default/original/1X/8e5d89af6e394e425a61bdcaacd0532aef8b7a94.png)  
and the form view:  
 ![Clipboard02](https://discuss-cdn.tryton.org/uploads/default/original/1X/47d504b676ddcd820d02171a4e7e051a49145656.png)

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [July 9, 2020, 5:53pm UTC](https://discuss.tryton.org/t/odd-behavior-of-date-widget-in-tryton-5-4-8-for-windows/3001/2 "2020-07-09T17:53:52Z")

</div>

Indeed `popup_position` in `datetime_.py`could be improved to position the popup above when the widget is too close from the border.
