Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1208

Clients.scrollIntoView don't work in Chrome browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 6.5.0, 6.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      Grid and Clients.scrollIntoView(row);

      Description

      Hi, I have a litle problem with the componet grid on my aplication.
      I'm doing a chat and to scroll just in time the aswers from users I had use the Clients.scrollIntoView('rowFromMyGrid'), in Firefox and IE8 it's works fine, but when I try use in Chrome is not work... Sombody can help-me?
      [code]
      <grid id="chatGrid" style="border:0px">
      <columns>
      <column width="13%" align="center"/>
      <column/>
      </columns>
      <rows id="chatRows">
      </rows>
      </grid>
      [/code]
      Java:
      [code]
      Row row = new Row();
      row.setStyle("background-color: #F7F7F7");
      row.setParent(this.chatRows);
      Image image = new Image("/images/robot.png");
      image.setWidth("40px");
      image.setHeight("40px");
      image.setParent(row);

      Vlayout vl = new Vlayout();

      Date dtChat = new Date();
      getLabelChatTime(dtChat).setParent(vl);
      c.setParent(vl);
      vl.setParent(row);
      Clients.scrollIntoView(row);
      [/code]

        Attachments

          Activity

            People

            Assignee:
            jumperchen jumperchen
            Reporter:
            frann frann
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: