Skip to content

web: ReactiveBase theme provider overwrites the outer theme provider #455

Description

@divyanshu013

Issue Type:

Enhancement

Platform:

Web

Description:

When ReactiveBase is present as a child or deeper in the tree and wrapped by another emotion ThemeProvider, it will overwrite the theme keys of the outer ThemeProvider. A possible solution is to use a different key in reactivesearch itself:

<ThemeProvider theme={...}>
  ...
  <ReactiveBase theme={...}>
     <MyStyledComponent>
       // got theme from ReactiveSearch instead
     </MyStyledComponent>
  </ReactiveBase>
</ThemeProvider>

Reactivesearch version: x.y.z

v2.6.9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions