Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Slider seems disabled when added to page with initial value of 0

I have added a slider to my page (an otherwise unmodified version of the default app.js):

var slider1 = Titanium.UI.createSlider({
top: '150px',
left: '12px',
height: '50px',
width: '750px',
min: 0.0,
max: 10.0,
enabled: true,
value: 10.0

The above works fine, but if the initial 'value' value is 0.0, the slider cannot be dragged and generates no events.

What's going on?

— asked August 16th 2010 by Matthew Webster
  • api
  • beginner
  • slider

1 Answer

  • Accepted Answer

    Yes it's a bug. Set it to something like 0.05 and should work fine. They say for 1.4 it's fixed but i don't know if it's true or not.

    — answered August 16th 2010 by Dan Tamas
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.