question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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 issue

Environment

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

  1. open a v-dialog
  2. click anywhere

Expected Behavior

no errors

Actual Behavior

image

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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
KaelWDcommented, Sep 6, 2021

#activator="{ props }" + v-bind="props"

0reactions
lukeromanowiczcommented, Sep 6, 2021

Nice! this one works like a charm!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found