[
https://issues.apache.org/jira/browse/MYFACES-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved MYFACES-1007.
-------------------------------------
Assignee: Leonardo Uribe
Resolution: Cannot Reproduce
Since the scroll script is called at the end of <body> tag, it works without
call setTimeout. I tried to reproduce this one without success.
> AUTO_SCROLL not always working with IE
> --------------------------------------
>
> Key: MYFACES-1007
> URL: https://issues.apache.org/jira/browse/MYFACES-1007
> Project: MyFaces Core
> Issue Type: Improvement
> Components: General
> Affects Versions: 1.1.1
> Environment: Windows XP Tomcat 5.5 et IE 6 sp2
> Reporter: Antoine Sabot-Durand
> Assignee: Leonardo Uribe
> Priority: Minor
>
> In some case the autoscroll feature doesn't work in Internet explorer 6.
> Especially when the rendered HTML contains a lot of div.
> This is due to a bug in Internet Explorer.
> The solution I found is to modify the renderAutoScrollFunction method in
> org.apache.myfaces.renderkit.html.util class.
> I changed the following line :
> script.append("window.scrollTo(").append(x).append(",").append(y).append(");\n");
> to
> script.append("setTimeout('window.scrollTo(").append(x).append(",").append(y).append(")',1);\n");
> The setTimeout let IE finish whatever it has to to get a right layout of the
> HTML elements on the page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.