cowboy / jquery-resize

A resize event for ALL your jQueries!
http://benalman.com/projects/jquery-resize-plugin/
GNU General Public License v2.0
549 stars 161 forks source link

Conflict with Highcharts + Flot #22

Open jaredbroad opened 10 years ago

jaredbroad commented 10 years ago

Great plugin but it conflicts with highcharts and flot. Perhaps its an easy namespace issue?

Thanks

prakashsanker commented 9 years ago

I think I might be running up against the same issue - what error message are you getting?

tomyam1 commented 9 years ago

It also causes problems with select2. Since select2 binds to resize event it causes significant slowness.

Solves this with support for custom namespace. https://github.com/tepez/jquery-resize/tree/namespace

allenfantasy commented 9 years ago

Same issues here when using Highcharts. Hacked it following the instructions from a comment.

Just add the following snippet into the setup function:

if (this !== window && !this.nodeName) {
  return false;
}
jorgecarmona commented 8 years ago

I'm getting this error when using this plugin with flot and react js

Uncaught TypeError: h[k] is not a function

Any ideas?

peca11 commented 7 years ago

I'm getting the same as @jorgecarmona

Uncaught TypeError: h[k] is not a function