apache / apache/royale-asjs

Uncaught RangeError: Maximum call stack size exceeded - in spark Group with mx Image

Open
#919 0 comments 0 reactions 1 assignee Claimed by @greg-dove View on GitHub
bug
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

In project which we are working on using Emulation components we have faced following exception:

```
Uncaught RangeError: Maximum call stack size exceeded
at spark.layouts.HorizontalLayout.spark_layouts_HorizontalLayout_measureReal (HorizontalLayout.js:657)
at spark.layouts.HorizontalLayout.measure (HorizontalLayout.js:874)
at spark.components.Group.spark.components.supportClasses.GroupBase.measure (GroupBase.js:151)
at spark.components.Group.spark.components.supportClasses.GroupBase.get__measuredWidth (GroupBase.js:320)
at spark.layouts.HorizontalLayout.measure (HorizontalLayout.js:875)
at spark.components.Group.spark.components.supportClasses.GroupBase.measure (GroupBase.js:151)
at spark.components.Group.spark.components.supportClasses.GroupBase.get__measuredWidth (GroupBase.js:320)
at spark.layouts.HorizontalLayout.measure (HorizontalLayout.js:875)
at spark.components.Group.spark.components.supportClasses.GroupBase.measure (GroupBase.js:151)
at spark.components.Group.spark.components.supportClasses.GroupBase.get__measuredWidth (GroupBase.js:320)
```

It occurs when we put mx:Image inside spark Group container with HorizontalLayout:
```







```

I'm attaching simple project which reproduce that issue. It is setup with [Moonshine IDE 3.0](https://moonshine-ide.com/downloads/releases/dev/windows/Moonshine-3.0.0.exe). There is also maven pom file.

[HorizontalLayoutIssue.zip](https://github.com/apache/royale-asjs/files/5376791/HorizontalLayoutIssue.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.