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] v-menu activator switching causes console errors #6348

Closed
DanielRivers opened this issue Feb 4, 2019 · 4 comments
Closed

[Bug Report] v-menu activator switching causes console errors #6348

DanielRivers opened this issue Feb 4, 2019 · 4 comments
Labels
C: VMenu VMenu duplicate The issue has already been reported T: bug Functionality that does not work as intended/expected

Comments

@DanielRivers
Copy link

DanielRivers commented Feb 4, 2019

Versions and Environment

Vuetify: 1.4.4
Vue: 2.5.22
Browsers: Chrome 72.0.3626.81
OS: Windows 10

Steps to reproduce

Press the button and will result in error to the console.

Expected Behavior

Switch activator with no error

Actual Behavior

Errors to the console.

[Vue warn]: Error in callback for watcher "activator": "TypeError: t.removeEventListener is not a function"

TypeError: t.removeEventListener is not a function

Reproduction Link

https://codepen.io/anon/pen/JxWgqq

Other comments

This fiddle was put together by a Jacek from another fiddle I showed as example. I have seen errors to do with both adding and removing of the eventListener

@KaelWD
Copy link
Member

KaelWD commented Feb 4, 2019

Basically #5890 (comment), external activators are a bit broken atm

@KaelWD KaelWD added the T: bug Functionality that does not work as intended/expected label Feb 4, 2019
@DanielRivers
Copy link
Author

Thanks @KaelWD - I can see there is currently no milestone on #5890 is there an idea when this may be addressed?

@KaelWD
Copy link
Member

KaelWD commented Mar 11, 2019

Workaround is to pass Element objects instead of a selector: https://codepen.io/anon/pen/aMyYmW?editors=1010

@KaelWD
Copy link
Member

KaelWD commented Jul 15, 2019

Going to mark as duplicate of #5890, there's a bunch of similar issues that should really be addressed at the same time.

@KaelWD KaelWD closed this as completed Jul 15, 2019
@KaelWD KaelWD added the duplicate The issue has already been reported label Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMenu VMenu duplicate The issue has already been reported T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants