You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that if we use array style props, the height and width element of the replacement element in the transform will be undefined, causing it to not show up, as an example:
We resolved this by recursively applying a flatten before we pass in the style props. But it seems like it could be supported from the library instead. Happy to submit a PR for this, just wanted to check my understanding.
The text was updated successfully, but these errors were encountered:
Having the same issue and flattening recursively doesn't help either! (using react-native-extended-stylesheet). Their flatten function gives the expected result but doesn't seem to work as intended.
Noticed that if we use array style props, the
height
andwidth
element of the replacement element in the transform will beundefined
, causing it to not show up, as an example:We resolved this by recursively applying a flatten before we pass in the style props. But it seems like it could be supported from the library instead. Happy to submit a PR for this, just wanted to check my understanding.
The text was updated successfully, but these errors were encountered: