[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'focus' of undefined"
See original GitHub issue[Vue warn]: Error in nextTick: “TypeError: Cannot read property ‘focus’ of undefined”
Get this occasionally when I switch between components and reopen a modal. When I reload the page with the modal there is no warning. I’m using:
this.$root.$emit('show::modal', 'my-modal')
and
this.$root.$emit('hide::modal', 'my-modal')
I use 0.15.5. When I downgrade to bootstrap-vue to 0.15.0 there is no warning at all.
Similar issue: https://github.com/bootstrap-vue/bootstrap-vue/issues/19
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
vue.js - vuejs: Trying to focus the input using v-el directive
I get: Uncaught TypeError: Cannot read property 'txtName' of undefined. This in the "created" method. – geoidesic. Apr 29, 2018 at 21:48.
Read more >[Vue warn]: Error in nextTick: "TypeError: Cannot read ... - 简书
[Vue warn]: Error in nextTick: "TypeError: Cannot read properties of undefined (reading 'focus')" - 简书
Read more >error in nexttick: "typeerror: cannot read properties of undefined
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'focus' of undefined" Get this occasionally when I switch between components .
Read more >Focus management with Vue refs - Learn web development
In order to set focus, we need to understand a little bit more about ... an error raised along the lines of "can't...
Read more >vue warn error in nexttick typeerror cannot read property ... - 掘金
vue warn error in nexttick typeerror cannot read property 'focus' of undefined ... 双十一,打包半价理解Vue的nextTick与watcher以及Dep的蓝色生死恋? 这段脚本执行 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(0.15.6 is going to be released in few minutes some changes required 😄)
This should be available in the next release.