Giter VIP home page Giter VIP logo

Comments (2)

Tiagoperes avatar Tiagoperes commented on August 14, 2024

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:

  1. 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"
  2. positionType is a property of style and not style.flex.
  3. 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.

brianchu avatar brianchu commented on August 14, 2024

Thanks! It works now.
Waiting to see the solution of web vs mobile platform in the future.

from beagle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.