I seem to be having issues altering the vslider via code.  I am using
the change event thrown by the Vslider to dispatch my own event like so

this.dispatchEvent( event );

So anytime someone changes the Vslider value it throws an event and my
components scales in size.

But my component has the ability to change its own size using mouse +
keyboard controls.  So when this happens I then need to tell the
Vslider to change its value to match the components new size.  So I do
that via function like so

mySlider.value = newVal;

This seems to work nine times out of ten, but if my Vslider is a 4.5
(my Vslider can go btwn .25 and 5) then I scale the component to 5
then click on the Vslider to scale down to .25 the change event isn't
ever thrown via the Vslider though the slider thumb moves to where I
clicked on the Vslider.



Reply via email to