meltingice / CamanJS

Javascript HTML5 (Ca)nvas (Man)ipulation
http://camanjs.com
BSD 3-Clause "New" or "Revised" License
3.55k stars 404 forks source link

Browser crash on resize #189

Open kwaazaar opened 8 years ago

kwaazaar commented 8 years ago

Check this plunk for a repro: http://embed.plnkr.co/1GRozHtjcA6AP6twT9E8/

kwaazaar commented 8 years ago

Nobody has a clue?

rbudzak commented 8 years ago

If it makes you feel any better, I'm suffering from the exact same problem and am desperately trying to find a solution.

If I run with debugging on, it looks like it just runs the plugin many times and then crashes. image

ghost commented 8 years ago

This solution worked for me : add this attribute > data-caman-hidpi-disabled="true". If a HiDPI display is detected, CamanJS will automatically switch to the HiDPI version if available unless you force disable it with the data-caman-hidpi-disabled attribute.