File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,8 @@ export default {
238
238
togglePicker () {
239
239
// ---- fix #53 start ----
240
240
let elm = this .$refs .defaultActivator && this .$refs .defaultActivator .$el ;
241
- const slotActivator = this .$slots .input && this .$slots .input .length && this .$slots .input [0 ];
241
+ // fix #55: this.$slots.input[0] -> this.$slots.input[0].elm
242
+ const slotActivator = this .$slots .input && this .$slots .input .length && this .$slots .input [0 ].elm ;
242
243
if (! elm && (slotActivator .querySelector (' input' ) || slotActivator .querySelector (' button' ))) {
243
244
elm = slotActivator;
244
245
}
@@ -263,7 +264,7 @@ export default {
263
264
} else {
264
265
this .pickerVisible = ! this .pickerVisible ;
265
266
}
266
- // ---- fix #53 start ----
267
+ // ---- fix #53 end ----
267
268
},
268
269
pickerStyles () {
269
270
return {
You can’t perform that action at this time.
0 commit comments