Ref Focus no funciona Vue JS

this.$nextTick(() => this.$refs.search.focus())
Concerned Copperhead