Skip to content

Fix absolute position when padding on parent in place#1016

Open
woehrl01 wants to merge 2 commits intofacebook:mainfrom
woehrl01:fix-absolute-with-padding
Open

Fix absolute position when padding on parent in place#1016
woehrl01 wants to merge 2 commits intofacebook:mainfrom
woehrl01:fix-absolute-with-padding

Conversation

@woehrl01
Copy link
Copy Markdown
Contributor

This PR fixes #850 where the padding of the parent is used mistakenly included for the calculation of children's size.

It also fixes the bug where the boarder of the parent is used, instead of the padding for positioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

absolute child element percent length of left/top/right/bottom/width/height calcuated different compared with web

3 participants