This line of code worked perfectly last week:
var datepickerIcon = component.find('datepicker').getElement();
Now I'm getting this error:
[TypeError: component.find(...).getElement is not a function]
The component which elements I'm trying to get is this one:
<ui:inputDate class='datepickerField' aura:id='datepicker' value=" {!v.datepickerDate}" displayDatePicker="true"/>
It's been a month since I don't make changes in the code so I'm guessing that could have something to do with the final Summer '16 release