[Bug Report][3.0.0-alpha.11] Dialog throws errors when clicking on it - Uncaught TypeError: Cannot read property 'contains' of undefined
See original GitHub issueEnvironment
Vuetify Version: 3.0.0-alpha.11 Vue Version: 3.2.6 Browsers: Chrome 92.0.4515.107 OS: Linux x86_64
Steps to reproduce
- open a v-dialog
- click anywhere
Expected Behavior
no errors
Actual Behavior
index.ts:42 Uncaught TypeError: Cannot read property 'contains' of undefined
at index.ts:42
at Array.some (<anonymous>)
at checkEvent (index.ts:42)
at directive (index.ts:54)
at HTMLBodyElement.onClick (index.ts:76)
Reproduction Link
https://codepen.io/pen/?&prefill_data_id=38d07978-3bed-476a-91be-4b6691a92fb6
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Resolving TypeError: Cannot Read Property of Undefined ...
TypeError : Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >Uncaught TypeError: Cannot read property 'contains' of ...
elems in your code is a Node list which doesnot have property classList . You should access classList of element inside elems if...
Read more >Uncaught TypeError : Cannot read properties of undefined
Looking for ways to handle Uncaught TypeError: Cannot read property of undefined in JavaScript? This guide will help you to catch errors.
Read more >Uncaught TypeError: Cannot read property of undefined
If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it....
Read more >Uncaught TypeError: Cannot read property 'value' of undefined
Opening Configuration for Bitbucket Server BugFix throws exception in the bottom of the page. I am not Admin of the board. An error...
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
#activator="{ props }"
+v-bind="props"
Nice! this one works like a charm!