Comments (4)
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.
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.
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.
Closing this one, as I believe it has been resolved with the updated documentation.
from rmlui.
Related Issues (20)
- Support for mouseenter and mouseleave events. HOT 3
- Support for Modulus operation in expressions HOT 3
- Rml::Span doesn't exist when RmlUi is installed from vcpkg which leads to backend compilaton errors HOT 2
- Get the ElementText rectangle or bounding box when the layout calculation is complete HOT 3
- Does RmlUI have plans to support dotte/dashed borders style? HOT 2
- Using glEnable(GL_DEPTH_TEST) when using GL3 renderer and SDL platform results in blank screen. HOT 1
- open a link in the web browser? HOT 2
- source code of a game in the rmlui's galery HOT 4
- Nothing renders and app crashes with a minimum example of RmlUI, SDL2, Glad, OpenGL4.6 HOT 3
- Current HarfBuzz sample is not able to render emojis HOT 6
- Document window failed to auto scale after moving HOT 2
- Flex formatting context triggered unexpected assert initial_box_size.y < 0 HOT 2
- Debugging modal documents HOT 4
- nth-child(odd) gets confused by data-if (RmlUi 5.1) HOT 4
- Textures leaked during shutdown HOT 3
- TranslateX doesn't change the div width HOT 3
- Scroll continuously reverts to the top when another element on the document is updated HOT 5
- Hitting assert in `ContainerBox::CatchOverflow` HOT 5
- Growing element with flex-grow: 1 breaks layouting of other items HOT 1
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 rmlui.