Search code examples
opensocialgoogle-gadget

Scroll issue in Open Social Gadget


I have a gadget that should be dynamic-height and it should have scroll-y.

I tried using this annotation in my java class:
@ModulePrefs(scrolling = true)

It returned below XML code:
ModulePrefs scrolling="true"

But my iframe still has "scrolling=no" property.

Am I doing something wrong?

I'd appreciate any help/hint. Thanks in advance.


Solution

  • Apparently it's a bug in shindig, because it generates a javascript file with a hard coded "scrolling=no" property. As this js is created using a servlet, I overwrote the servlet and put:
    replaceAll("scrolling=\"no\"", "scrolling=\"auto\"");