Greetings team! ๐ Great work on V7!
How do I have separation of concerns between nested Mantine providers? I have a use case where my npm library would have its own provider and its consumers may have their own provider. I used combination of getRootElement and cssVariablesSelector but no dice ๐
Trying to solve the following
- Parent's theme toggle should not change the theme for nested components because its using a separate root
- Select dropdown seems to have two sources of truth, parent and nested when used inside a nested provider. So the component's colour breaks when user changes the themes
Thanks again for creating such a good library!
Repro: https://codesandbox.io/p/sandbox/relaxed-stonebraker-w2tk25?file=%2Fsrc%2FApp.tsx%3A35%2C21