Very simple setup different from web? #566

Closed
opened 2017-05-26 08:22:37 -07:00 by roxlu · 0 comments
roxlu commented 2017-05-26 08:22:37 -07:00 (Migrated from github.com)

Report

Issues and Steps to Reproduce

I've created a tmp repository. When you execute the release script it will build the test code.

git clone git@github.com:roxlu/tmp_yoga_issues.git
cd build
./release.sh

Expected Behavior

I would expect the item to have half of the size like this:
https://jsfiddle.net/roxlu/3ngptpt7/

Actual Behavior

The calculated height is half of which I would expect. I'm setting flex to 0.5 and I would expect the height of the item node to reflect this (see code).

Link to Code

git@github.com:roxlu/tmp_yoga_issues.git

When applicable, use this fiddle to post a web repro.
See: https://jsfiddle.net/roxlu/3ngptpt7/

# Report - [x] I have searched [existing issues](https://github.com/facebook/yoga/issues) and this is not a duplicate # Issues and Steps to Reproduce I've created a tmp repository. When you execute the release script it will build the test code. ```` git clone git@github.com:roxlu/tmp_yoga_issues.git cd build ./release.sh ```` # Expected Behavior I would expect the item to have half of the size like this: https://jsfiddle.net/roxlu/3ngptpt7/ # Actual Behavior The calculated height is half of which I would expect. I'm setting flex to 0.5 and I would expect the height of the `item` node to reflect this (see code). # Link to Code git@github.com:roxlu/tmp_yoga_issues.git ***When applicable, use this [fiddle](https://jsfiddle.net/emilsjolander/jckmwztt/) to post a web repro.*** See: https://jsfiddle.net/roxlu/3ngptpt7/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DaddyFrosty/yoga#566
No description provided.