Skip to content
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

Invalid props.style key z supplied to View #46

Closed
maki3000 opened this issue Mar 25, 2020 · 1 comment · Fixed by #51
Closed

Invalid props.style key z supplied to View #46

maki3000 opened this issue Mar 25, 2020 · 1 comment · Fixed by #51
Labels

Comments

@maki3000
Copy link

maki3000 commented Mar 25, 2020

I'm getting this warning:
Invalid props.style key 'z' supplied to 'View'

Do I do something wrong? Shouldn't that be "zIndex" instead of just z?

Here some more of the warning:

Bad object: {
  "transitionProperty": "opacity",
  "transitionDuration": "0.15s",
  "userSelect": "none",
  "cursor": "pointer",
  "touchAction": "manipulation",
  "top": 37,
  "left": 306,
  "elevation": 1,
  "z": 1,
  "alignSelf": "baseline"
}

This "z": 1 most probably throws it.

@baconcheese113
Copy link
Collaborator

Unable to reproduce this, but it should definitely be zIndex for iOS

baconcheese113 added a commit to baconcheese113/react-native-draggable that referenced this issue Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants