-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: mark inset*
, marginBlock*
, marginInline*
, paddingBlock*
and paddingInline*
props as built-in support
#219
base: main
Are you sure you want to change the base?
Conversation
inset*
, marginBlock*
, marginInline*
, paddingBlock*
and paddingInline*
props as built-in support
I'm getting this coverage error: Jest: "global" coverage threshold for branches (89%) not met: 88.79% Weird... I didn't add any new functionality. |
We haven't been using the built in support because all logical styles aren't fully implemented in RN yet, and we had problems in the past with missing desktop support. I'll ask around and see if we can start to drop some of the polyfills |
@@ -1011,6 +1008,7 @@ exports[`properties: logical direction inset: inset vs top 1`] = ` | |||
{ | |||
"style": { | |||
"bottom": 100, | |||
"insetBlockStart": 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a regression? Depends on whether RN ignore the logical style in favor of the physical style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how RN works, so this might be expected.
@@ -1031,6 +1028,7 @@ exports[`properties: logical direction inset: insetBlock vs top 1`] = ` | |||
{ | |||
"style": { | |||
"bottom": 100, | |||
"insetBlockStart": 3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
Looks like a miss the |
This layout props have been implemented in main (default as of 0.76).
Check 46478 for more information.
Should we continue to test these props?