2 Replies Latest reply on Sep 2, 2014 8:07 AM by gheosian

    custom scrollbar stops working in EdgeCC

    Ian750 Level 1

      I have found an interesting problem where a call to mCustomScrollbar (V2.8) in EdgeCC only works once.

      It is worth noting that this problem did *not* occur in prior versions of Edge.

       

      The following code will work the first time it is executed in EdgeCC (i.e the scrollbar appears and works fine),

      but the next time the timeline returns to run this code again, the html is displayed (as static text), but *without* the scrollbar.

       

      Any ideas what changed in either EdgeCC, or mCustomScrollbar (V2.8) ?  

      Thanks

       

      sym.$("Contents").html("<p>Page1 Dolor sit amet risus quis, etc...</p>");

       

      sym.$("Contents").mCustomScrollbar({

           autoDraggerLength:true,

           scrollInertia:800,

           mouseWheel:{

                 enable: true,

                scrollAmount: 60

           }

      });

       

      ==== Just for the record, these are the js files loaded on the Stage =====

      yepnope({nope:[ 'css/jquery.mCustomScrollbar_v2.8.css',

                           'js/jquery.mCustomScrollbar.concat.min_v3.1.11.js',

                           'js/jquery.mCustomScrollbar_v2.8.7.js',

                           'js/jquery-1.9.1.min.js',

                          ],complete: init});

      function init (){