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

borderStyle ignored on Divider theme #8308

Open
1 of 3 tasks
mhamid3d opened this issue Feb 22, 2024 · 1 comment
Open
1 of 3 tasks

borderStyle ignored on Divider theme #8308

mhamid3d opened this issue Feb 22, 2024 · 1 comment

Comments

@mhamid3d
Copy link

mhamid3d commented Feb 22, 2024

Description

When I set the borderStyle to 'dashed' for Dividers in my extended theme, the Dividers are still showing as solid.

Link to Reproduction

https://codesandbox.io/p/sandbox/chakra-divider-border-theme-l2j5v8

Steps to reproduce

  1. Extend the theme for Divider component
  2. Change borderStyle in baseStyle
  3. Create divider component

Chakra UI Version

2.8.1

Browser

Microsoft Edge

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

Interestingly, with Menu divider multipart theme, this is not an issue and borderStyle actually works.

@pdroamrl
Copy link

pdroamrl commented Feb 23, 2024

For me is a bug.

I try for differents ways, but not work.

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

2 participants