You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/12/16 07:08:07 UTC
[jira] [Assigned] (FLEX-33992) Zero division at Grid.as setters for
horizontalScrollPosition and verticalScrollPosition
[ https://issues.apache.org/jira/browse/FLEX-33992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean reassigned FLEX-33992:
------------------------------------
Assignee: Justin Mclean
> Zero division at Grid.as setters for horizontalScrollPosition and verticalScrollPosition
> ----------------------------------------------------------------------------------------
>
> Key: FLEX-33992
> URL: https://issues.apache.org/jira/browse/FLEX-33992
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Apache Flex 4.10.0
> Reporter: Andrey Gorbatov
> Assignee: Justin Mclean
> Labels: easyfix, easytest
>
> See
> override public function set horizontalScrollPosition(value:Number):void at spark Grid.as line 735:
> const gridMaxHSP:Number = contentWidth - width;
> gridMaxHSP may be zero. And later
> const hsp:Number = (centerMaxHSP / gridMaxHSP) * value;
> After zero division hsp is NaN and DataGrid content dissappears.
> The same thing is for verticalScrollPosition setter.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)