Calling setValue() on a DatePicker with an open picker makes UI unclickable

Description

To reproduce, write code where datePicker.setValue() can be called while one of its pickers is open (I used a keyboard event, since clicks will close the picker). Then:
1) Click to open one of the pickers in DatePicker
2) press any key, which calls datePicker.setValue(); observe UI become unresponsive to clicks

See live demo at http://codepen.io/DougReeder/pen/meOXdN

Environment

Enyo is actually 2.5.1.1, but that's not allowed above
Chrome 45.0.2454.93 (64-bit), FF 40.0.3, Safari 7.1.8 (9537.85.17.9.1),
all under OS X 10.9.5

Activity

Show:
P. Douglas Reeder
September 28, 2015, 1:55 AM

My current workaround is to manually close the pickers before calling setValue:

{{this.$.datePicker.$.dayPicker.hide();
this.$.datePicker.$.monthPicker.hide();
this.$.datePicker.$.yearPicker.hide();
this.$.datePicker.setValue(new Date(-(item.sortKey || 0)));
}}

RoyS
September 28, 2015, 4:45 PM

This also reproduces in 2.6.

Assignee

Screener (Enyo Team)

Reporter

P. Douglas Reeder

Labels

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

Priority

None
Configure