You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result of that, data-theme attribute is not set on the <html> element. Because of that, default border color stays the user-agent default instead of chakra-ui's default.
I don't utilize color manager functionality of chakra-ui, but I assume that feature is completely broken due to this.
Description
In a custom environment like an iframe, I expect everything to work when used with
<ChakraProvider environment={{...}}>
.However, the color manager ignores custom environments completely. See:
chakra-ui/packages/components/src/color-mode/color-mode.utils.ts
Lines 17 to 24 in 7b6e66a
As a result of that,
data-theme
attribute is not set on the<html>
element. Because of that, default border color stays the user-agent default instead of chakra-ui's default.I don't utilize color manager functionality of chakra-ui, but I assume that feature is completely broken due to this.
Link to Reproduction
https://codesandbox.io/p/sandbox/agitated-faraday-jns5jc
Steps to reproduce
Chakra UI Version
2.8.2
Browser
Chrome, Firefox
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: