Comments (4)
@Omxjep3434 thanks for the report! I was able to repro and am able to see all the things you described in the report. It looks like the padding is properly applied but the width is the part that is incorrect and is taking both paddings into account, likely like you said in your guess where we interpret the end as the right side for that part. I will take a look and see if I can fix it
from yoga.
FYI @joevilches for when you’re back from PTO
from yoga.
Ok that attached commit should fix the problem! We may wanna surround in errata, but this seems to be a super specific case where we need RTL, % child, and physical + relative edge defined for this to show up, so could go without it. We will see in code review.
from yoga.
Awesome, glad to help!
from yoga.
Related Issues (20)
- [Yoga 3] Wrong outcome of max-height percentage value HOT 1
- absolute percent position of root element is not correct HOT 3
- YGNodeFree does not mark parent as dirty HOT 1
- Measurement of absolute-positioned nodes
- Box percentage width calculation is different from the Web
- get/setDirection() bindings missing from Yoga npm version 3.0.4 HOT 2
- flexBasis+flexShrink+borderWidth result in an wrong value HOT 1
- 3.1.0 BUG: The change in the UILabel text affects the horizontal width calculation!!! HOT 2
- 0 layoutWidth and 0 layoutHeight after repeated layout calculation HOT 3
- [c++] YGNodeCalculateLayout() is not working on iOS/iPad with any optimization -O1, O2, O3, OFast (because of finite-math-only) HOT 4
- Child node size is wrong when layout is measured by parent HOT 2
- [c++]set the fex property 1 to the node with measueFunc , the node width will be 0 HOT 1
- Parent components ignore minHeight when parent's flexDirection is column
- SVG Antivirus reporting your website yogalayout.dev as blocked HOT 4
- YGNode zero size when combine flex-direction: column and flex-direction: row on a fifth block
- [JS] Using Yoga npm version 3.0.1 with Jest HOT 2
- Using percentages for layout does not correctly display the required space when there is a gap???
- What are some reasons `alignItems` may not work? HOT 1
- [Crash] - java.lang.NoClassDefFoundError: com.facebook.yoga.YogaNative
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 yoga.