Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][2.6.2] Hiding v-menu before close-delay causes undefined error #14619

Closed
oohira opened this issue Jan 15, 2022 · 1 comment
Closed
Assignees
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected
Milestone

Comments

@oohira
Copy link

oohira commented Jan 15, 2022

Environment

Vuetify Version: 2.6.2
Vue Version: 2.6.14
Browsers: Chrome 97.0.4692.71
OS: Mac OS 10.15.7

Steps to reproduce

  1. Open Chrome DevTools' Console tab.
  2. Click DROPDOWN menu button and show menu list.
  3. Click HIDE button quickly (to keep menu list shown)
  4. JS error will occur after 1s.

Expected Behavior

JS error does not occur.

Actual Behavior

JS error occurs as following.

vuetify.min.js:6 Uncaught TypeError: Cannot read properties of undefined (reading 'contains')
    at vuetify.min.js:6:129798
(anonymous)	@	vuetify.min.js:6
setTimeout (async)		
runDelay	@	vuetify.min.js:6
mouseLeaveHandler	@	vuetify.min.js:6
invokeWithErrorHandling	@	vue.js:1872
invoker	@	vue.js:2197
original._wrapper	@	vue.js:7591

Reproduction Link

https://codepen.io/oohira/pen/dyVavJx

Other comments

In my real use case, users navigate to a different page (using Vue Router) when clicking the button . For simplicity, the reproducible example hide the v-menu itself.

@KaelWD KaelWD added C: VMenu VMenu T: bug Functionality that does not work as intended/expected and removed S: triage labels Jan 17, 2022
@KaelWD KaelWD self-assigned this Jan 17, 2022
@KaelWD KaelWD added this to the v2.6.x milestone Jan 17, 2022
@KaelWD KaelWD closed this as completed in e13eee1 Jan 17, 2022
@sorooshmorshedi
Copy link

<3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants