You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My slider has 2 handles (handle1, handle2). While sliding handle2, I was trying to update the value of handle1 using the setValue(value, 0) was not possible. The main reason setValue method perform following check (handleIdx = handleIdx || this.activeHandleIdx || 0) to determine handleIdx. Since handle2 is active handle, telling setValue to update value handle1 at handleIdx=0 the check always return handleIdx=1.
hello,
My slider has 2 handles (handle1, handle2). While sliding handle2, I was trying to update the value of handle1 using the setValue(value, 0) was not possible. The main reason setValue method perform following check (handleIdx = handleIdx || this.activeHandleIdx || 0) to determine handleIdx. Since handle2 is active handle, telling setValue to update value handle1 at handleIdx=0 the check always return handleIdx=1.
To see the fix go to http://github.com/ccote/scriptaculous/blob/master/src/slider.js
The text was updated successfully, but these errors were encountered: