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

TypeError: undefined is not a function #310

Open
d-arken opened this issue Jan 26, 2021 · 2 comments
Open

TypeError: undefined is not a function #310

d-arken opened this issue Jan 26, 2021 · 2 comments

Comments

@d-arken
Copy link

d-arken commented Jan 26, 2021

Hello, first, thanks for the lib, it have been very useful to my team.

But i caught an annoying error wich happens in older browsers.

To reproduce the error that i found in Sentry reports.
I had to emulate an Android 5 browser, but i got that.

image
image

Steps:
GenyMotion emulator (free version)
Android 5 image
Access an website that uses the directive

If you need more information, just answer here.

Thanks.

@ndelvalle
Copy link
Owner

Hi @d-arken thanks for reporting the issue, can you please provide the error stack trace, maybe we can have an idea of what is going on and where.

@d-arken
Copy link
Author

d-arken commented Jan 26, 2021

@ndelvalle I only could reproduce it at a production server.

So i only got that trace from console.

Uncaught TypeError: undefined is not a function b463db994ad64a93abd8.js:2
el b463db994ad64a93abd8.js:2
t.__v-click-outside.r.events.map.handler b463db994ad64a93abd8.js:2
G.r b463db994ad64a93abd8.js:2 

and from Sentry:

/node_modules/v-click-outside/dist/v-click-outside.umd.js in el at line 1:1042
{snip} middleware,o=t.path||t.composedPath&&t.composedPath();(o?o.indexOf(n)<0:!n.contains(t.target))&&i({event:t,handler:r,middleware:d})}({el:e,e {snip}

./node_modules/v-click-outside/dist/v-click-outside.umd.js in apply at line 1:934

{snip} Target:document.documentElement,handler:function(n){return function(e){var n=e.el,t=e.event,r=e.handler,d=e.middleware,o=t.path||t.composedP {snip}

I am trying to connect the emulator with my development setup. But untill now i could not make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants