You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (JIRA)" <de...@myfaces.apache.org> on 2017/10/10 11:55:00 UTC

[jira] [Updated] (MYFACES-4122) Auto scroll doesn't work anymore for some environment

     [ https://issues.apache.org/jira/browse/MYFACES-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Andraschko updated MYFACES-4122:
---------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Fixed in core. Not sure if we need to fix this in tomahawk, too. [~lu4242]?

> Auto scroll doesn't work anymore for some environment
> -----------------------------------------------------
>
>                 Key: MYFACES-4122
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4122
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.12
>            Reporter: Taro App
>            Assignee: Thomas Andraschko
>             Fix For: 2.0.25, 2.1.19, 2.2.13, 2.3.0
>
>         Attachments: HtmlJavaScriptUtils.java.patch
>
>
> Auto Scroll doesn't work anymore for some environment. This is because auto scroll code assumes scroll position to be integer value where some browsers begin to return floating numbers. See org.apache.myfaces.shared.renderkit.html.HtmlJavaScriptUtils.getAutoScrollFunction where it parses scroll positions assuming they are integers, and if not, it ignores those values and prints out error "Error getting y offset for autoscroll feature. Bad param value"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)