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

Not inheriting properties #25

Closed
brpapa opened this issue Dec 10, 2021 · 3 comments
Closed

Not inheriting properties #25

brpapa opened this issue Dec 10, 2021 · 3 comments
Assignees

Comments

@brpapa
Copy link

brpapa commented Dec 10, 2021

See the following examples.

Here, the default XStack has flexDirection 'row':
Screen Shot 2021-12-09 at 22 00 54

But here, the MyStack apparently is not inheriting the flexDirection 'row':
Screen Shot 2021-12-09 at 22 00 41

Overwrite the flexDirection not works yet.
Screen Shot 2021-12-09 at 22 00 23

But overwrite it inside a boolean variant just works.
Screen Shot 2021-12-09 at 22 00 05

@brpapa
Copy link
Author

brpapa commented Dec 11, 2021

{
  "dependencies": {
    "@tamagui/babel-plugin": "^1.0.0-alpha.36",
    "@tamagui/colors": "^1.0.0-alpha.36",
    "@tamagui/core": "^1.0.0-alpha.36",
    "@unimodules/core": "^7.2.0",
    "expo": "~43.0.3",
    "expo-status-bar": "~1.1.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-native": "0.64.3",
    "react-native-web": "0.17.5",
    "tamagui": "^1.0.0-alpha.36"
  },
  "devDependencies": {
    "@babel/core": "^7.16.0",
    "@manypkg/cli": "^0.19.1",
    "@types/react": "~17.0.37",
    "@types/react-native": "~0.66.6",
    "typescript": "~4.5.2"
  }
}

@natew
Copy link
Member

natew commented Dec 16, 2021

Weird, will take a look soon.

@natew natew self-assigned this Jan 26, 2022
@natew
Copy link
Member

natew commented Jan 26, 2022

This should be at least somewhat fixed by alpha 41, I see an alignment issue but that's likely a separate bug. Let me know if it works.

@natew natew closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants