0

Clients.scrollIntoView don't work in Chrome

asked 2012-06-12 17:10:24 +0800

frann gravatar image frann
12

updated 2012-06-12 19:10:10 +0800

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:
ZUL:

	<grid id="chatGrid" style="border:0px">
		<columns>
			<column width="13%" align="center"/>
		        <column/>
		</columns>
		<rows id="chatRows">
		</rows>
	</grid>

Java:
	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);

ZK Version 5.0

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-06-21 19:49:15 +0800

frann gravatar image frann
12

?

link publish delete flag offensive edit

answered 2012-06-22 02:58:22 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

hi,
would you please provide a simple code example and report the bug to http://tracker.zkoss.org/secure/IssueNavigator.jspa?mode=hide&requestId=10001 ?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-06-12 17:10:24 +0800

Seen: 555 times

Last updated: Jun 22 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More