[TIMOB-4788] Android: creating a slider that fills the parent width cannot slide
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-05-30T15:07:41.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Release 2.1.0 |
Components | Android |
Labels | core |
Reporter | Natalie Huynh |
Assignee | Neeraj Gupta |
Created | 2011-07-26T13:06:56.000+0000 |
Updated | 2012-06-04T02:57:55.000+0000 |
Description
Steps to Reproduce:
1. Run test 1084 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case
Actual Result:
Slider does not move
Expected Result:
Be able to grab the selector and move the slider
I believe this is caused by the fact that the the test case omits "min" and "max" values. In practice, I would expect developers to always set a min and max value, but there is no reason that we couldn't default to, say, 0 and 1 so the control doesn't look broken by default.
Cannot reproduce with 2.1.0 master builds (05/30/12).
Fixed as part of composite layout enhancements.
The slider moves as expected. Verified On: SDK: 2.1.0.v20120602010244 Studio: 2.1.0.201205292047 Device: Samsung Galaxy note(V 2.3.6)