-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
QTooltip triggers event error when unloaded? #976
Comments
Any chance I can take a look at your repo? It would help investigating. |
Actually, it's not on github I'm afraid. I will try to make a minimal test case |
Well, that was annoying. I couldn't make a repro case, so I just updated my main project, and the following things were upgraded:
And now the error is no more. Woohoo!. |
OK, for some reason, this problem is back (I suspect it never really went away, and I just failed with the testing :). Anyway, the following simple App.vue below shows it happening on ios. I'm on Quasar 0.14.7 at the moment.
|
Aargh! Sorry, wrong ticket. I'll move this elsewhere... |
Software version
Quasar: 0.14
OS: Win 10 Pro 64-bit
Node:
NPM:
Browsers: Vivaldi 1.13.971.8 (Official Build) (64-bit)
iOS:
Android:
Any other software related to your bug:
What did you get as the error?
[Vue warn]: Error in beforeDestroy hook: "TypeError: Cannot read property 'removeEventListener' of undefined"
What were you expecting?
No error :)
What steps did you take, to get the error?
In the template, I'm defining this section of markup:
All is fine until I navigate away from that page and back again. Then I get the error in the browser console. The component is unloaded in between (i.e. it's based on a router-view which navigates to a different component). The q-tooltip does still work, even on the 'reloaded' page. The order is:
error in beforeDestroy hook
The text was updated successfully, but these errors were encountered: