Uploaded image for project: '[Read Only] - Addon Channel Manager'
  1. [Read Only] - Addon Channel Manager
  2. CHANNELMGR-873

Continuous changing in page content leads to broken scroll bar in channel edit mode in Chrome.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • None
    • None
    • None

    Description

      Tested on HAP 11.0

      Scenario:
      1. Add script bellow to ftl file of Home page of HAP project.
      2. Open HAP channel in edit mode.
      3. Change windows size to enable scroll bar.
      4. Try scroll down holding scroll bar.

      Expected result: Scroll bar works normally, content is scrolled.
      Current result: Scroll bar continuously loses focus so it's impossible to scroll content

      Script:

      <div style="height: 14px; overflow: hidden;">
      <div id="slowdown"></div>
      </div>

      <@hst.headContribution category="htmlBodyEnd">
      <script type="text/javascript" src="<@hst.webfile path="/js/jquery-2.1.0.min.js"/>"></script>
      </@hst.headContribution>

      <@hst.headContribution category="htmlBodyEnd">
      <script type="text/javascript">
      if (window.jQuery) {
      $(document).ready(function() {
      var s1 = $('#slowdown').css('overflow', 'hidden').html(Array(400).join('💩'));
      var s1w = 100;
      var run = function ()

      { s1w = s1w === 100 ? 0 : s1w + 1; s1.width(s1w + '%'); window.setTimeout(run, 50); }

      ;
      run();
      });
      }
      </script>
      </@hst.headContribution>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asolod Andrey Solod (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: