We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e965e86 commit e3eb993Copy full SHA for e3eb993
src/components/MdField/MdSelect/MdSelect.vue
@@ -154,7 +154,9 @@
154
}
155
},
156
onFocus () {
157
- this.applyHighlight()
+ if (this.didMount) {
158
+ this.applyHighlight()
159
+ }
160
161
removeHighlight () {
162
this.MdField.highlighted = false
@@ -218,10 +220,12 @@
218
220
219
221
222
- mounted () {
223
+ async mounted () {
224
this.showSelect = false
- this.didMount = true
225
this.setFieldContent()
226
+
227
+ await this.$nextTick()
228
+ this.didMount = true
229
230
231
</script>
0 commit comments