Closed brianchu closed 2 years ago
Hello @brianchu.
The current behavior is expected. The only problem in the example is how the "cover" as the image mode differs from web platforms to mobile. This is something we're aware of and intend to fix.
There are 3 problems preventing you from placing an image on top of another:
"ABSOLUTE"
and not "Absolute"
. The correct key would be "positionType"
and not "PositionType"
positionType
is a property of style
and not style.flex
.positionType: "ABSOLUTE"
, not their parent. Here's and example: https://playground.usebeagle.io/#/cloud/S3-cd07cb6d-56d6-43ba-825c-8ff5e0bc7493/main.json?platform=react-web
Please, let me know if I can close this issue.
Thanks! It works now. Waiting to see the solution of web vs mobile platform in the future.
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest Beagle release to make sure your issue has not already been fixed: https://github.com/ZupIT/beagle/releases
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Observed: The two image does NOT overlap in Android runtime Android:
Web:
Justification: Need Absolute to work so we can create overlap layout in many cases (e.g. background image with scrolling in the front).
Expected Results
Describe what you expected to happen.
Code example, screenshot, or link to a repository:
Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve