Hi so, I've a modal wich i open abusing the dispatch events (so i can open from outide the component), and i want to focus an input so I've tried using x-ref on the input and then applied focus via $nextTick but it won't focus the input, contrary to when i do $el.focus() it'll focus the modal correctly. I've setup an JSBIN here: https://jsbin.com/wigupiloxa/edit?html,output. Any idea what can i do to focus the input?
Hi so, I've a modal wich i open abusing the dispatch events (so i can open from outide the component), and i want to focus an input so I've tried using
x-refon the input and then applied focus via$nextTickbut it won't focus the input, contrary to when i do$el.focus()it'll focus the modal correctly. I've setup an JSBIN here: https://jsbin.com/wigupiloxa/edit?html,output. Any idea what can i do to focus the input?