Select to view content in your preferred language

2.4 PopUp scrollbar bug

4166
25
08-04-2011 03:59 PM
DasaPaddock
Esri Regular Contributor
A bug has been found in the 2.4 release where if you have many fields shown and the scrollbar appears in the PopUp, it only works the first time the PopUp opens. The second time it opens, only the title is shown. The field area is blank. The fix for this is in the attached PopUpRendererSkin.

Here's more information about how to use "custom" skins:
http://help.arcgis.com/en/webapi/flex/help/index.html#/Styling_and_skinning_overview/017p0000001s000...
Tags (1)
0 Kudos
25 Replies
KevinHighland
Frequent Contributor
Ari-

For my <description>, I just use one long line of code with <br> tags between each new line:

 <description><![CDATA[Bluff Level: {BluffLevel}<br>Failure Date: {FailureDate}<br>Description: {Description}<br>Elevation: {Elevation} ft<br>USACE Reach: {USACE_Reach}<br>Image: <a href="http://gisweb:9231/bluffexplorer/bluff_photos/bluff_failure/{Picture}.jpg"><u>{Picture}</u></a>]]></description>


This works perfectly for me. See the attached picture for the example



EDIT: The code above is supposed to be one long line, but somehow got wrapped when I posted it.
0 Kudos
GregoryPierce
Emerging Contributor
Adding to what Jay said:

Once you copy the PopUpRenderSkin.mxml into the com.esri.viewer.skins folder

add the following to the defaults.css file in  src->default package

esri|PopUpRenderer
{
skinClass:ClassReference("com.esri.viewer.skins.PopUpRendererSkin")
}

compile the project and run

Subu


Thank you!  I thought I was going crazy trying to figure out how to implement that skin!
0 Kudos
GrayRackley
New Contributor
For my <description>, I just use one long line of code with <br> tags between each new line:


Code:
<description><![CDATA[Bluff Level: {BluffLevel}<br>Failure Date: {FailureDate}<br>Description: {Description}<br>Elevation: {Elevation} ft<br>USACE Reach: {USACE_Reach}<br>Image: <a href="http://gisweb:9231/bluffexplorer/bluff_photos/bluff_failure/{Picture}.jpg"><u>{Picture}</u></a>]]></description>This works perfectly for me. See the attached picture for the example



This is a quick workaround.

Thanks
0 Kudos
MeghanMcGaffin
Deactivated User
For my <description>, I just use one long line of code with <br> tags between each new line

This is a quick workaround.

Thanks


After banging my head for some time now this workaround has fixed my issue!  Many many thanks!
0 Kudos
KevinHighland
Frequent Contributor
Is this fixed in 2.5?
0 Kudos