Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

themeShallow not working #3644

Open
Open
@pkfms

Description

@pkfms

Current Behavior

From the docs:
themeShallow - Used in combination with the theme prop, it prevents the theme from passing to children.

Children of a component with theme and themeShallow still inherit the theme.
In my example I have a ThemableStack with theme=blue and themeShallow=true. A Button inside this stack incorrectly has blue theme

Expected Behavior

Children of a component with theme and themeShallow should not inherit the theme

Tamagui Version

1.135.4

Platform (Web, iOS, Android)

all

Reproduction

https://codesandbox.io/p/github/pkfms/theme-shallow/main?import=true

System Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp