Skip to content

[Bug Report][2.6.0] VDialog, error after change "fix(VDialog): don't re-focus autofocused children" #14581

@mlankamp

Description

@mlankamp

Environment

Vuetify Version: 2.6.0
Last working version: 2.5.14
Vue Version: 2.6.14
Browsers: Edge 99.0.1128.0
OS: Windows 10

Steps to reproduce

  • Create Dialog, sometime I see an error in the console:
TypeError: Cannot read properties of undefined (reading 'contains')
    at VueComponent.<anonymous> (VDialog.ts:190:16)
    at Array.<anonymous> (vue.runtime.esm.js:1989:1)
    at flushCallbacks (vue.runtime.esm.js:1915:1)

Expected Behavior

Additional check if this.$refs.content is not undefined

Actual Behavior

Reproduction Link

https://codepen.io/

Metadata

Metadata

Assignees

Labels

C: VDialogT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions