Has anyone else encountered weirdness when manually adjusting
the selectedIndex and verticalScrollPosition of a List component?
When I adjust them to the same value the correct item is selected
and the verticalScrollPosition is indeed updated, however, the list
of items still begins
from the beginning of the list, so the list is offset. If I
scroll up it is blank. After scrolling up, however, it will begin
to correct itself as it redraws. I'm not sure why it is doing this
or how I can fix it. I know flex 1.5 had a redraw method, but I
don't see anything like that in the 2 docs.
So it must have something to do with the fact that I was
updating the dataProvider immediately before changing the
verticalScrollPosition. I'm still not sure what is going on, but I
simply did a callLater on the List wherein I updated the
verticalScrollPosition and that seems to work fine. However, if
anyone from Adobe is listening, this seems like a bug needing
resolving for feature versions.