Ticket #2528785 (accepted defect)
Reporter Josh Lizarraga |
Opened: 04/14/10 Last modified: 03/11/12 Status: accepted Type: defect |
Owner Luke Smith |
Target Release: Priority: P4 (low) |
|---|---|---|---|
| Summary: | Slider fires first setValue() call twice if "max" is 200 or greater. | ||
| Description: | This was a difficult problem to isolate. Not sure what the heck is going on here. The first time you call setValue() or set('value', someVal) after rendering a slider with a "max" of >=200, it ends up See the simple test case below. If you change the "max" configuration parameter to 199 or lower, the bug goes away. If you set the "min" and "max" parameters to high numbers (say, 1000 and 100000, |
||
| Type: | defect | Observed in Version: | 3.1.0 |
| Component: | Slider | Severity: | S3 (normal) |
| Assigned To: | Luke Smith | Target Release: | |
| Location: | Library Code | Priority: | P4 (low) |
| Tags: | slider, setValue, max | Relates To: | |
| Browsers: | Firefox 3.x - PC,Safari 4.x - PC,IE 6.x | ||
| URL: | |||
| Test Information: |
|
||
Change History
|
Posted: 04/15/10
|
|
Posted: 06/30/10
|
|
Posted: 08/30/10
|
|
Posted: 10/14/10
|
|
Posted: 11/30/11
Resolving as "expired" due to lack of activity. Please feel free to reopen if this issue is still important to you. |
|
Posted: 12/5/11
|
|
Posted: 03/11/12
Lack of activity != fixed. This is still a bug, though there may be limited resources to deal with it. |
|
Posted: 03/11/12
|
Hi,
I've encountered that in my Ticks slider extension.
This is due to the calculations of the thumb position.
I've for now did a workaround to avoid it using bind/unbind technique:
@ this._unBindValueLogic();
var tick = this._nearestTick(e.newVal);
this._setPosition(tick.newVal);
this.fire( 'tickChange', tick );
this._bindValueLogic(); @