Comments (2)
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:
- With the exception of component names and action names, Beagle is case-sensitive. The correct value would be
"ABSOLUTE"
and not"Absolute"
. The correct key would be"positionType"
and not"PositionType"
positionType
is a property ofstyle
and notstyle.flex
.- The elements that will be positioned in the Z-Axis should receive
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.
from beagle.
Thanks! It works now.
Waiting to see the solution of web vs mobile platform in the future.
from beagle.
Related Issues (20)
- JSON key can have special character HOT 2
- make beagle:container fit to content width HOT 1
- iOS: How can i convert ServerDrivenComponent to UIView with style
- feat: iOS: make BeagleScreenViewController -> convenience init(_ component: ServerDrivenComponent..) public HOT 8
- Height of a ServerDrivenComponent in Swift(UI) HOT 19
- ListView with section header HOT 4
- Can't access ListView initializer for iOS SDK HOT 2
- How to tell when other component scroll into view? HOT 13
- How to animate Component? HOT 3
- Reusable custom component in JSON level HOT 3
- All Platforms: Modally presented popover server driven components. HOT 4
- Custom component using multiple built-in components doesn't nested HOT 3
- Support for GZIP compression for smaller payload JSON HOT 5
- Testing auto-reply
- Creating listview programmatically will result in crash with "java.lang.IllegalArgumentException: RecyclerView Id can't be -1" HOT 7
- ListView and GridView padding doesn't work in Android platform HOT 1
- Context data not getting passed HOT 3
- BeagleScreenViewController Lifecycle Analytics HOT 4
- Broken link in CONTRIBUTING.md documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beagle.