2 Replies Latest reply on Dec 5, 2018 3:24 PM by romainpaillas

    ResizeMe function doesn't work anymore, in Jive Widgets, since 2018.3




      I'm facing a big issue.

      I use Jive HTML Widget, and often use resizeme() function to resize the size of the current iframe to its content. But since 2018.3 it doesn't work anymore.


      After test, the problem don't appear on legacy cloud (2016.3.x), on 2018.2 and on onprem (9.0.5)



      You could try with this simple code


      <script src="https://code.jquery.com/jquery-3.3.1.js"></script>

      <div id="1stpart">before</div>

      <div id="topDiv">


      <div id="lastpart">after</div>






      When you switch in edit overview page, you can see that Jive is calling resizeMe with a new way like

      <script>resizeMe=function(){window.parent.jive.widget.resizeMe("#widgetIframe53362");};</script> with the iframe is the id of the iframe. But it's ID change each time you save the widget.


      You could see a <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="jive/widget/resize-me" src="/2018.3.0.edf04c8/resources/scripts/jive/widget/resize-me.js"></script> line too


      Anybody can help ?