I've been playing with the SearchWidget and noticed that when the InfoWindow scrolls there's extra whitespace at the bottom. I've tracked it down to an extra newline in supportClasses.ResultAttributesThe newline can be removed by truncating "content" after it's built, or by prepending the newline instead.Truncate example:
// Line 76
if (content.length > 0 && content.charAt(content.length - 1) == "\n")
content = content.substr(0, -1);
resultAttributes.content = content;
Prepend example:
// Line 154 - 161
if (textDirection && textDirection == "rtl")
{
content += (content.length > 0 ? "\n" : "") + value + " :" + fieldLabel + "\n";
}
else
{
content += (content.length > 0 ? "\n" : "") + fieldLabel + ": " + value + "\n";
}
Hope this is handy.