This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit f9ac21c01d0f4453b35007b3595302b2c2abc38c Author: Alex Harui <[email protected]> AuthorDate: Mon Aug 13 11:44:20 2018 -0700 switch to absolute when setting positions in JS --- .../MXRoyale/src/main/royale/mx/core/LayoutElementUIComponentUtils.as | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/LayoutElementUIComponentUtils.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/LayoutElementUIComponentUtils.as index 4a42761..0f3ae73 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/LayoutElementUIComponentUtils.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/LayoutElementUIComponentUtils.as @@ -525,6 +525,10 @@ public class LayoutElementUIComponentUtils } */ obj.move(x, y); + COMPILE::JS + { + obj.element.style.position = "absolute"; + } } /**
