We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent8a174ac commitb44bf8bCopy full SHA for b44bf8b
src/components/Picker.vue
@@ -238,7 +238,8 @@ export default {
238
togglePicker () {
239
// ---- fix #53 start ----
240
let elm=this.$refs.defaultActivator&&this.$refs.defaultActivator.$el;
241
-constslotActivator=this.$slots.input&&this.$slots.input.length&&this.$slots.input[0];
+// fix #55: this.$slots.input[0] -> this.$slots.input[0].elm
242
+constslotActivator=this.$slots.input&&this.$slots.input.length&&this.$slots.input[0].elm;
243
if (!elm&& (slotActivator.querySelector('input')||slotActivator.querySelector('button'))) {
244
elm= slotActivator;
245
}
@@ -263,7 +264,7 @@ export default {
263
264
}else {
265
this.pickerVisible=!this.pickerVisible;
266
-// ---- fix #53start ----
267
+// ---- fix #53end ----
268
},
269
pickerStyles () {
270
return {