Open johnnyshields opened 9 years ago
Hi @johnnyshields - the line which triggered the error in fastclick will be responding to user interaction, triggering the onclick
action in your vendor code. If the backtrace showed lots of nested calls within fastclick, then fastclick is at fault - but if it ended up in your vendor.js
, I'm inclined to think that this is just a looped function call in your code, where fastclick is just the entry point.
Does that make sense?
@rowanbeentje this does make sense, we will take a second look. Thanks for the fast response!!
@rowanbeentje FYI after investigating those two vendor.js lines were actually in FastClick lib as well, I guess in staging env we have two copies of it, one which is compiled into our vendor.js. This may be evidence against the "infinite-loop" theory... maybe related to https://github.com/ftlabs/fastclick/issues/262 ?
Using fastclick version 1.0.3
On iPad we saw a random error "RangeError: Maximum call stack size exceeded."
Stacktrace:
This line which triggered the error was in FastClick.prototype.sendClick function.