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

Clients.scrollIntoView don't work in Chrome browser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.0, 6.0.3
    • 5.0.0
    • None
    • None
    • Grid and Clients.scrollIntoView(row);

      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]

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

              Created:
              Updated:
              Resolved: