abpetkov / powerange

iOS 7 style range slider
http://abpetkov.github.io/powerange/
423 stars 85 forks source link

Crashes Safari when step parameter is passed in options #26

Open jocubeit opened 8 years ago

jocubeit commented 8 years ago

Safari 9.0.3 (11601.4.4) on El Capitan 10.11.3 (15D21).

It doesn't matter what value you pass, if you set the option to any value when the range is created, it will crash.

Also, disappointing to see the project has been abandoned (based in lack of reply to anyone else reporting crashes).

jocubeit commented 8 years ago

Just out of interest, fixes in pull requests #9 and #12 do not fix this issue.

luicaps commented 8 years ago

Just stumbled in this issue too. Any progress? It crashes in Chrome as well, can't event debug to investigate.

I also tested the pull requests you mentioned, and it doesn't solve the problem indeed.

luicaps commented 8 years ago

Further testing, it seems that the constructor with step breaks in specific moments. I was able to create the slider with step in other parts of my code, except when I really needed.

In my case, if the lib had a way to set the value programmatically, that would serve.

Due to timing issues, I changed to bootstrap-slider and changed the style myself

abpetkov commented 7 years ago

@luicaps @JurgenJocubeit Can you provide a code example that 100% reproduces the issue?

jocubeit commented 7 years ago

@abpetkov I gave up on this a long time ago and stopped using it.