myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1007) AUTO_SCROLL not always working with IE
Date Sat, 26 Aug 2006 07:10:25 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1007?page=comments#action_12430713 ] 
            
Matthias We├čendorf commented on MYFACES-1007:
---------------------------------------------

Can you retest? Martin committed a fix regarding auto_scroll last month or so.

> AUTO_SCROLL not always working with IE
> --------------------------------------
>
>                 Key: MYFACES-1007
>                 URL: http://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
>            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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message