Select to view content in your preferred language

2.4 PopUp Slider Position Problem

555
1
10-07-2011 11:37 AM
PatrickMullen1
Occasional Contributor
I have done the work around by adding the PopUpRenderer so the slider works now.

However, when I click and scroll down to view the information at the bottom and then close it. Then click on another feature, the scrollbar remains at the same position from the last pop up instance.

Any clue how to fix this? I tried looked in the PopUpRender skin for a setting to change. Only found that verticalScrollPosition is the what I probably need to set and cant figure where to go from here?

Any ideas?

Thanks, Patrick

Edit: I meant 2.4.
Tags (2)
0 Kudos
1 Reply
PatrickMullen1
Occasional Contributor
Found the problem. I should have seen this earlier but im not much of a programmer and entirely looked it over.

In the commit properties function, the code removed all elements of vGroup. So simply enough, adding vGroup.verticalScrollPosition = 0; right underneath the vGroup.removeAllElements makes the slider default to the top.

Hope this helps some others.
0 Kudos