lifegadget / ui-slider

A visually attractive slider for ambitious Ember apps
https://ui-slider.firebaseapp.com/
MIT License
30 stars 39 forks source link

_immediateResponse instantiates before _slider exists in some cases #2

Closed mdsib closed 8 years ago

mdsib commented 8 years ago

initializeJqueryComponent is ran during the afterRender phase of the Ember Run loop, where _slider is instantiated. However, _slider is expected to exist when the _immediateResponse method is called after the element is inserted into the DOM, which is before the rendering has completed.

I was getting an error until I scheduled _immediateResonse's body in the afterRender phase as well.

yankeeinlondon commented 8 years ago

this should now be fixed in the v0.1.2. I'll close it for now but if you're still having problems with it just re-open.

mdsib commented 8 years ago

Cool, thanks!