| Summary: | [Scrollbar] Sends "NaN" as "topItemIndex" after _layoutPost | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stephan Leicht Vogt <stephan.leichtvogt> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | 1.5 | ||||||
| Target Milestone: | 1.5 M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Committed patch with minor modification to CVS HEAD and added a Test. |
Created attachment 207229 [details] Patch to fix the described problem Sometimes _maximum can be the same as idealLength in the method _layoutPost (Line 151 of ScrollBar.js). I didn't find out how that can happen and how I could write a test in ScrollBarTest.js. I'll attach a fix patch.