We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20be60b commit 9aa34c8Copy full SHA for 9aa34c8
src/modules/focus/index.ts
@@ -7,7 +7,7 @@ export function focus(instance, $this: Vue) {
7
if (!target || !target.length) return
8
9
if (!target.is('input')) {
10
- target = target.find('> input')
+ target = target.find('input').first()
11
}
12
13
target.focus()
0 commit comments