Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1494] Slider Bug in SDK 1.4 on (at least) Android

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect, slider
Reportervit
AssigneeDon Thorp
Created2011-04-15T02:54:16.000+0000
Updated2011-04-17T01:56:19.000+0000

Description

Setting max has no effect in certain situations.

Here is the demo code:

http://pastie.org/1079331">http://pastie.org/1079331 (or see attachment)

Note, that the thumb should be in the middle of the ruler after the code has executed, but ends up closer to the beginning of the ruler, as if max wasn't changed.

Attachments

FileDateSize
app.js2011-04-15T02:54:17.000+0000264

Comments

  1. Bill Dawson 2011-04-15

    Verified that we're not recalculating the slider onPropertyChange.

  2. Don Thorp 2011-04-15

    (from [ccf6dce1a4b08b4334df6dd8d261b1aa125ce48e]) [#1494 state:fixed-in-qa] added support for dynamically changing min,max for slider. Added additional KS example and turned slider.js into a launcher. slider.js is now slider_basic.js http://github.com/appcelerator/titanium_mobile/commit/ccf6dce1a4b08b4334df6dd8d261b1aa125ce48e"> http://github.com/appcelerator/titanium_mobile/commit/ccf6dce1a4b08...

  3. Thomas Huelbert 2011-04-15

    confirmed on android and iOS

JSON Source