Giter Site home page Giter Site logo

Comments (4)

mikke89 avatar mikke89 commented on August 29, 2024

Thanks for reporting. This one is a known limitation actually, and the reasoning is the same as with absolutely positioned elements which has been reported previously: #235. This situation is also exactly why we introduced clip: always. In my view, that is a reasonable solution to such situations.

If we instead made it so that transforms could affect layout, performance would suffer a great deal, particularly when combined with animations. I'm sure there are some ways we could potentially work around it, without the performance degradation in all situations. But it's not something I can prioritize right now.

note that I'd love for there to be a generic player that we could use just to drag .rml files into and preview them instantly.

That's a cool idea, I like it.

from rmlui.

Paril avatar Paril commented on August 29, 2024

Ah, okay, that makes sense! I tried to search for this issue but my keywords weren't finding it. If it's intentional, I would just close this issue then; could we add a note on either https://mikke89.github.io/RmlUiDoc/pages/cpp_manual/animations_transforms.html or https://mikke89.github.io/RmlUiDoc/pages/rcss/animations_transitions_transforms.html ? These are the two pages I referred to to see if I was missing some sort of limitation about transform, I imagine most people will look there first too.

A player executable would be super useful, yeah. I've gotten mileage out of loaddocument but it's still pretty limited. Would be neat to be able to just make a zip containing .rml/.rcss/.tga files and be able to drag it into the player, and just posting that zip on github when reproducing bugs (or just a single .rml file if the player supports base64 URIs for embedding images)

from rmlui.

mikke89 avatar mikke89 commented on August 29, 2024

Good idea, this should be better documented indeed. I've made some notes in the above commit.

Thanks for the suggestion, that would be quite neat, I've made a note of it for now.

from rmlui.

mikke89 avatar mikke89 commented on August 29, 2024

Closing this one, as I believe it has been resolved with the updated documentation.

from rmlui.

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.