Use an ElDatePicker component with the type property bound to a reactive property.
Initialize the type as date or any non-range property.
Open the picker and pick a date.
Change the type property from date to daterange
Open the picker again.
What is Expected?
Picker should appear in same position (i.e. directly under the date input) after modifying the type property.
What is actually happening?
Position of picker is top-left of window instead of directly under the date input.
Element UI version
2.3.7
OS/Browsers version
osx chrome
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/8qg3abrp/2/
Steps to reproduce
Use an ElDatePicker component with the
type
property bound to a reactive property. Initialize thetype
asdate
or any non-range property. Open the picker and pick a date. Change thetype
property fromdate
todaterange
Open the picker again.What is Expected?
Picker should appear in same position (i.e. directly under the date input) after modifying the
type
property.What is actually happening?
Position of picker is top-left of window instead of directly under the date input.