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

PopoverArrow did not apply the _dark property #8478

Open
1 of 3 tasks
tuanpq1998 opened this issue May 13, 2024 · 0 comments
Open
1 of 3 tasks

PopoverArrow did not apply the _dark property #8478

tuanpq1998 opened this issue May 13, 2024 · 0 comments

Comments

@tuanpq1998
Copy link

tuanpq1998 commented May 13, 2024

Description

  • Demo:
<Popover>
  <PopoverTrigger>
    <Button>Trigger</Button>
  </PopoverTrigger>
  <PopoverContent color='white' _dark={{
              backgroundColor: 'blue.500',
            }} 
            bg='blue.800' >
    <PopoverArrow color='white' _dark={{
              backgroundColor: 'blue.500',
            }} bg='blue.800'  />
    <PopoverCloseButton />
    <PopoverHeader>Confirmation!</PopoverHeader>
    <PopoverBody>Are you sure you want to have that milkshake?</PopoverBody>
  </PopoverContent>
</Popover>
  • Image:

    • Light mode: (works fine)
      image
    • Dark mode:
      image
  • Description: When I change to Dark mode, PopoverArrow remains the same bg color as Light mode although I I have set up by _dark

Link to Reproduction

https://codesandbox.io/p/sandbox/fragrant-night-ckjztz

Steps to reproduce

  1. Run the code in demo

Chakra UI Version

lastest

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

@tuanpq1998 tuanpq1998 changed the title PopoverArrow didn't applied _dark property PopoverArrow did not apply the _dark property May 13, 2024
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

1 participant